HSL(55, 92%, 25%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(55,92%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(55, 92%, 25%) color: hsl(55, 92%, 25%)
HEX #7A7105 color: #7A7105
RGB rgb(122, 113, 5) color: rgb(122, 113, 5)
CMYK cmyk(0%, 7%, 96%, 52%)
HSV hsv(55, 96%, 48%)
HWB hwb(55 2% 52%) color: hwb(55 2% 52%)
OKLCH oklch(0.5399 0.1124 103.92) color: oklch(0.5399 0.1124 103.92)
Lab lab(46.92 -7.41 51.73) color: lab(46.92 -7.41 51.73)
LCH lch(46.92 52.26 98.15) color: lch(46.92 52.26 98.15)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 5.01:1
vs Black 4.19:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#76761F — rgb(118, 118, 31)

Deuteranopia (Green-blind)

#777725 — rgb(119, 119, 37)

Tritanopia (Blue-blind)

#7A3438 — rgb(122, 52, 56)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(55, 92%, 25%);

text

color: hsl(55, 92%, 25%);

border

border: 2px solid hsl(55, 92%, 25%);

gradient light

background: linear-gradient(to right, hsl(55, 92%, 45%), hsl(55, 92%, 25%));

gradient dark

background: linear-gradient(to right, hsl(55, 92%, 25%), hsl(55, 92%, 5%))

hex

background-color: #7A7105;

tailwind

bg-[hsl(55,92%,25%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(55, 92%, 25%, 0.4);

css variable

--color-primary: hsl(55, 92%, 25%);

Related Colors

Use Cases for Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(55, 92%, 25%)?

HEX: #7A7105 | RGB: rgb(122, 113, 5) | CMYK: 0%, 7%, 96%, 52% | HSV: 55°, 96%, 48%. Copy any format from the conversion table above.

What colors go well with #7A7105?

The complementary color is HSL(235, 92%, 25%). For a triadic harmony, use hues 55°, 175°, and 295°. For analogous combinations, try hues 25° and 85°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(55, 92%, 25%) in CSS?

As HSL: color: hsl(55, 92%, 25%); — As HEX: color: #7A7105; — As RGB: color: rgb(122, 113, 5); — Tailwind CSS: bg-[hsl(55,92%,25%)] — CSS variable: --color-primary: hsl(55, 92%, 25%);