HSL(63, 60%, 20%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(63,60%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(63, 60%, 20%) color: hsl(63, 60%, 20%)
HEX #4F5214 color: #4F5214
RGB rgb(79, 82, 20) color: rgb(79, 82, 20)
CMYK cmyk(4%, 0%, 76%, 68%)
HSV hsv(63, 76%, 32%)
HWB hwb(63 8% 68%) color: hwb(63 8% 68%)
OKLCH oklch(0.4228 0.0821 112.16) color: oklch(0.4228 0.0821 112.16)
Lab lab(33.45 -10.07 34.11) color: lab(33.45 -10.07 34.11)
LCH lch(33.45 35.57 106.45) color: lch(33.45 35.57 106.45)

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 8.24:1
vs Black 2.55:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#505023 — rgb(80, 80, 35)

Deuteranopia (Green-blind)

#505027 — rgb(80, 80, 39)

Tritanopia (Blue-blind)

#4F2F31 — rgb(79, 47, 49)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(63, 60%, 20%);

text

color: hsl(63, 60%, 20%);

border

border: 2px solid hsl(63, 60%, 20%);

gradient light

background: linear-gradient(to right, hsl(63, 60%, 40%), hsl(63, 60%, 20%));

gradient dark

background: linear-gradient(to right, hsl(63, 60%, 20%), hsl(63, 60%, 0%))

hex

background-color: #4F5214;

tailwind

bg-[hsl(63,60%,20%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(63, 60%, 20%, 0.4);

css variable

--color-primary: hsl(63, 60%, 20%);

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(63, 60%, 20%)?

HEX: #4F5214 | RGB: rgb(79, 82, 20) | CMYK: 4%, 0%, 76%, 68% | HSV: 63°, 76%, 32%. Copy any format from the conversion table above.

What colors go well with #4F5214?

The complementary color is HSL(243, 60%, 20%). For a triadic harmony, use hues 63°, 183°, and 303°. For analogous combinations, try hues 33° and 93°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(63, 60%, 20%) in CSS?

As HSL: color: hsl(63, 60%, 20%); — As HEX: color: #4F5214; — As RGB: color: rgb(79, 82, 20); — Tailwind CSS: bg-[hsl(63,60%,20%)] — CSS variable: --color-primary: hsl(63, 60%, 20%);