HSL(64, 69%, 39%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(64,69%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(64, 69%, 39%) color: hsl(64, 69%, 39%)
HEX #9FA81F color: #9FA81F
RGB rgb(159, 168, 31) color: rgb(159, 168, 31)
CMYK cmyk(5%, 0%, 82%, 34%)
HSV hsv(64, 82%, 66%)
HWB hwb(64 12% 34%) color: hwb(64 12% 34%)
OKLCH oklch(0.7014 0.1486 113.62) color: oklch(0.7014 0.1486 113.62)
Lab lab(66.12 -19.1 62.86) color: lab(66.12 -19.1 62.86)
LCH lch(66.12 65.7 106.9) color: lch(66.12 65.7 106.9)

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 2.59:1
vs Black 8.1:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A3A340 — rgb(163, 163, 64)

Deuteranopia (Green-blind)

#A2A248 — rgb(162, 162, 72)

Tritanopia (Blue-blind)

#9F5A60 — rgb(159, 90, 96)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(64, 69%, 39%);

text

color: hsl(64, 69%, 39%);

border

border: 2px solid hsl(64, 69%, 39%);

gradient light

background: linear-gradient(to right, hsl(64, 69%, 59%), hsl(64, 69%, 39%));

gradient dark

background: linear-gradient(to right, hsl(64, 69%, 39%), hsl(64, 69%, 19%))

hex

background-color: #9FA81F;

tailwind

bg-[hsl(64,69%,39%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(64, 69%, 39%, 0.4);

css variable

--color-primary: hsl(64, 69%, 39%);

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(64, 69%, 39%)?

HEX: #9FA81F | RGB: rgb(159, 168, 31) | CMYK: 5%, 0%, 82%, 34% | HSV: 64°, 82%, 66%. Copy any format from the conversion table above.

What colors go well with #9FA81F?

The complementary color is HSL(244, 69%, 39%). For a triadic harmony, use hues 64°, 184°, and 304°. For analogous combinations, try hues 34° and 94°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(64, 69%, 39%) in CSS?

As HSL: color: hsl(64, 69%, 39%); — As HEX: color: #9FA81F; — As RGB: color: rgb(159, 168, 31); — Tailwind CSS: bg-[hsl(64,69%,39%)] — CSS variable: --color-primary: hsl(64, 69%, 39%);