#9FA227

Closest named color: Pea Soup Green (#94A617). oklch(68.8% 0.138 111), rgb(159, 162, 39).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (69%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest namePea Soup Green (#94A617)
Black text7.67:1
White text2.73:1

Values

HEX#9FA227
RGBrgb(159, 162, 39)
HSLhsl(61, 61%, 39%)
OKLCHoklch(68.8% 0.138 111)

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 #9FA227 2.73:1 Fails Lc -58.1 Large or bold text, headings
Black text on #9FA227 7.67:1 AAA Lc 51.2 Large or bold text, headings
#9FA227 text on white 2.73:1 Fails Lc 52.8 Large or bold text, headings
#9FA227 text on black 7.67:1 AAA Lc -49.0 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

    #F5F6EE

    oklch(97% 0.011 112.4)

  2. Step 100

    100

    #EAECD9

    oklch(93.6% 0.025 111.8)

  3. Step 200

    200

    #DADDB9

    oklch(88.6% 0.048 111.2)

  4. Step 300

    300

    #C3C684

    oklch(80.9% 0.087 110.4)

  5. Step 400

    400 (this color)

    #9FA227

    oklch(68.8% 0.138 111)

  6. Step 500

    500

    #8E9000

    oklch(63.1% 0.138 110.8)

  7. Step 600

    600

    #777900

    oklch(55.6% 0.122 110.9)

  8. Step 700

    700

    #646600

    oklch(49.2% 0.108 111.1)

  9. Step 800

    800

    #525300

    oklch(42.7% 0.094 110.6)

  10. Step 900

    900

    #444500

    oklch(37.7% 0.083 110.7)

  11. Step 950

    950

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#9FA227 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)#AF9B090.027
Deuteranopia (no green cones)#B09E310.030
Tritanopia (no blue cones)#AA988B0.123
Achromatopsia (no color)#9C9C9C0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #9FA227

    #9FA227

    oklch(68.8% 0.138 111)

  • #9C8AE9

    #9C8AE9

    oklch(68.9% 0.138 291)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9FA227

    #9FA227

    oklch(68.8% 0.138 111)

  • #C69012

    #C69012

    oklch(68.8% 0.138 81)

  • #67B05C

    #67B05C

    oklch(68.9% 0.139 141.2)

Open the analogous palette in the generator

Split complementary

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

  • #9FA227

    #9FA227

    oklch(68.8% 0.138 111)

  • #689AF0

    #689AF0

    oklch(68.9% 0.138 260.7)

  • #C17CCE

    #C17CCE

    oklch(68.7% 0.138 321.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9FA227

    #9FA227

    oklch(68.8% 0.138 111)

  • #01A9E0

    #01A9E0

    oklch(68.9% 0.138 230.7)

  • #DA74A5

    #DA74A5

    oklch(68.8% 0.139 351.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9FA227

    #9FA227

    oklch(68.8% 0.138 111)

  • #00B0B8

    #00B0B8

    oklch(68.9% 0.117 200.6)

  • #9C8AE9

    #9C8AE9

    oklch(68.9% 0.138 291)

  • #E47475

    #E47475

    oklch(68.8% 0.139 20.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #9FA227 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.