#9FA304

Closest named color: Pea Soup Green (#94A617). oklch(68.9% 0.151 111.5), rgb(159, 163, 4).

Aa

Black text reads best on this color (7.71:1).

About this color

#9FA304 is a medium-light, vivid yellow. In OKLCH its lightness is 69%, its chroma 0.151 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup Green (#94A617), ΔE 0.016 away. Black text reads best on it, at 7.71:1.

Hue familyYellows
Lightnessmedium-light (69%)
Chromavivid (0.151)
Temperaturein between
Nearest namePea Soup Green (#94A617)
Black text7.71:1
White text2.72:1

Values

HEX#9FA304
RGBrgb(159, 163, 4)
HSLhsl(62, 95%, 33%)
OKLCHoklch(68.9% 0.151 111.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #9FA304 2.72:1 Fails Lc -57.7 Large or bold text, headings
Black text on #9FA304 7.71:1 AAA Lc 51.5 Large or bold text, headings
#9FA304 text on white 2.72:1 Fails Lc 52.5 Large or bold text, headings
#9FA304 text on black 7.71:1 AAA Lc -49.3 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #F5F6ED

    oklch(97% 0.012 111.8)

  2. Step 100

    100

    #EAECD7

    oklch(93.6% 0.028 111.3)

  3. Step 200

    200

    #DADDB6

    oklch(88.5% 0.052 111)

  4. Step 300

    300

    #C2C77E

    oklch(80.9% 0.095 111.7)

  5. Step 400

    400 (this color)

    #9FA304

    oklch(68.9% 0.151 111.5)

  6. Step 500

    500

    #8D9100

    oklch(63.2% 0.14 111.7)

  7. Step 600

    600

    #767900

    oklch(55.5% 0.122 111.5)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#9FA304 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#B19B000.033
Deuteranopia (no green cones)#B19E1E0.033
Tritanopia (no blue cones)#AB988A0.135
Achromatopsia (no color)#9D9D9D0.151

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #9FA304

    #9FA304

    oklch(68.9% 0.151 111.5)

  • #9D87F0

    #9D87F0

    oklch(68.8% 0.151 291.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FA304

    #9FA304

    oklch(68.9% 0.151 111.5)

  • #C79000

    #C79000

    oklch(68.9% 0.142 81.3)

  • #60B256

    #60B256

    oklch(69% 0.151 141.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #9FA304

    #9FA304

    oklch(68.9% 0.151 111.5)

  • #6599F8

    #6599F8

    oklch(69% 0.151 261.6)

  • #C579D3

    #C579D3

    oklch(68.9% 0.151 321.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FA304

    #9FA304

    oklch(68.9% 0.151 111.5)

  • #00A9E2

    #00A9E2

    oklch(69% 0.14 231.6)

  • #DF70A6

    #DF70A6

    oklch(68.9% 0.15 351.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FA304

    #9FA304

    oklch(68.9% 0.151 111.5)

  • #00B0B9

    #00B0B9

    oklch(68.9% 0.117 201.3)

  • #9D87F0

    #9D87F0

    oklch(68.8% 0.151 291.5)

  • #EA7071

    #EA7071

    oklch(69% 0.152 21.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #9FA304, closest first.

No curated palette has a color within ΔE 0.04 of #9FA304.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #9FA304 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.