HSL(61, 83%, 27%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(61,83%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(61, 83%, 27%) color: hsl(61, 83%, 27%)
HEX #7C7E0C color: #7C7E0C
RGB rgb(124, 126, 12) color: rgb(124, 126, 12)
CMYK cmyk(2%, 0%, 90%, 51%)
HSV hsv(61, 90%, 49%)
HWB hwb(61 5% 51%) color: hwb(61 5% 51%)
OKLCH oklch(0.5726 0.1223 110.84) color: oklch(0.5726 0.1223 110.84)
Lab lab(50.96 -13.47 53.56) color: lab(50.96 -13.47 53.56)
LCH lch(50.96 55.23 104.12) color: lch(50.96 55.23 104.12)

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 4.33:1
vs Black 4.85:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#7D7D28 — rgb(125, 125, 40)

Deuteranopia (Green-blind)

#7D7D2E — rgb(125, 125, 46)

Tritanopia (Blue-blind)

#7C3D42 — rgb(124, 61, 66)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(61, 83%, 27%);

text

color: hsl(61, 83%, 27%);

border

border: 2px solid hsl(61, 83%, 27%);

gradient light

background: linear-gradient(to right, hsl(61, 83%, 47%), hsl(61, 83%, 27%));

gradient dark

background: linear-gradient(to right, hsl(61, 83%, 27%), hsl(61, 83%, 7%))

hex

background-color: #7C7E0C;

tailwind

bg-[hsl(61,83%,27%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(61, 83%, 27%, 0.4);

css variable

--color-primary: hsl(61, 83%, 27%);

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(61, 83%, 27%)?

HEX: #7C7E0C | RGB: rgb(124, 126, 12) | CMYK: 2%, 0%, 90%, 51% | HSV: 61°, 90%, 49%. Copy any format from the conversion table above.

What colors go well with #7C7E0C?

The complementary color is HSL(241, 83%, 27%). For a triadic harmony, use hues 61°, 181°, and 301°. For analogous combinations, try hues 31° and 91°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(61, 83%, 27%) in CSS?

As HSL: color: hsl(61, 83%, 27%); — As HEX: color: #7C7E0C; — As RGB: color: rgb(124, 126, 12); — Tailwind CSS: bg-[hsl(61,83%,27%)] — CSS variable: --color-primary: hsl(61, 83%, 27%);