#97AF39

Closest named color: Avocado (#90B134). oklch(71.3% 0.144 120.1), rgb(151, 175, 57).

Aa

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

About this color

#97AF39 is a medium-light, vivid yellow. In OKLCH its lightness is 71%, its chroma 0.144 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.012 away. Black text reads best on it, at 8.50:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromavivid (0.144)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.50:1
White text2.46:1

Values

HEX#97AF39
RGBrgb(151, 175, 57)
HSLhsl(72, 51%, 45%)
OKLCHoklch(71.3% 0.144 120.1)

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 #97AF39 2.46:1 Fails Lc -53.4 Large or bold text, headings
Black text on #97AF39 8.50:1 AAA Lc 55.6 Large or bold text, headings
#97AF39 text on white 2.46:1 Fails Lc 48.4 Large or bold text, headings
#97AF39 text on black 8.50:1 AAA Lc -53.6 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

    #F4F7EE

    oklch(97.1% 0.012 121.7)

  2. Step 100

    100

    #E7EDDA

    oklch(93.6% 0.026 121.2)

  3. Step 200

    200

    #D4DFBA

    oklch(88.6% 0.051 120.9)

  4. Step 300

    300

    #B9CA87

    oklch(81% 0.091 120)

  5. Step 400

    400 (this color)

    #97AF39

    oklch(71.3% 0.144 120.1)

  6. Step 500

    500

    #7E9600

    oklch(63.2% 0.151 120.4)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #596A00

    oklch(49.3% 0.117 120.1)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232B00

    oklch(27.2% 0.064 120)

Export this scale for Tailwind in the Tailwind colors tool

#97AF39 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)#BAA5280.052
Deuteranopia (no green cones)#B7A5420.054
Tritanopia (no blue cones)#9FA6970.122
Achromatopsia (no color)#A5A5A50.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #97AF39

    #97AF39

    oklch(71.3% 0.144 120.1)

  • #B18CEE

    #B18CEE

    oklch(71.3% 0.143 300.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #97AF39

    #97AF39

    oklch(71.3% 0.144 120.1)

  • #C59D08

    #C59D08

    oklch(71.3% 0.144 90.2)

  • #55BB71

    #55BB71

    oklch(71.3% 0.144 150.2)

Open the analogous palette in the generator

Split complementary

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

  • #97AF39

    #97AF39

    oklch(71.3% 0.144 120.1)

  • #809CFC

    #809CFC

    oklch(71.3% 0.144 270.2)

  • #D47FCD

    #D47FCD

    oklch(71.3% 0.144 330)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #97AF39

    #97AF39

    oklch(71.3% 0.144 120.1)

  • #36ACF3

    #36ACF3

    oklch(71.2% 0.145 240.4)

  • #E9799E

    #E9799E

    oklch(71.3% 0.143 0.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #97AF39

    #97AF39

    oklch(71.3% 0.144 120.1)

  • #00B7CD

    #00B7CD

    oklch(71.4% 0.123 209.9)

  • #B18CEE

    #B18CEE

    oklch(71.3% 0.143 300.2)

  • #EF7C6B

    #EF7C6B

    oklch(71.3% 0.145 29.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #97AF39 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.