#97AF5B

Closest named color: Sage (#87AE73). oklch(71.7% 0.114 122.4), rgb(151, 175, 91).

Aa

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

About this color

#97AF5B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.114 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sage (#87AE73), ΔE 0.033 away. Black text reads best on it, at 8.59:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameSage (#87AE73)
Black text8.59:1
White text2.44:1

Values

HEX#97AF5B
RGBrgb(151, 175, 91)
HSLhsl(77, 34%, 52%)
OKLCHoklch(71.7% 0.114 122.4)

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 #97AF5B 2.44:1 Fails Lc -53.0 Large or bold text, headings
Black text on #97AF5B 8.59:1 AAA Lc 56.0 Large or bold text, headings
#97AF5B text on white 2.44:1 Fails Lc 48.0 Large or bold text, headings
#97AF5B text on black 8.59:1 AAA Lc -54.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

    #F4F7F0

    oklch(97.2% 0.01 125.7)

  2. Step 100

    100

    #E7ECDD

    oklch(93.5% 0.021 121.8)

  3. Step 200

    200

    #D4DEC1

    oklch(88.5% 0.04 122.7)

  4. Step 300

    300

    #B8C996

    oklch(81% 0.071 123)

  5. Step 400

    400 (this color)

    #97AF5B

    oklch(71.7% 0.114 122.4)

  6. Step 500

    500

    #7A961A

    oklch(63% 0.145 122.4)

  7. Step 600

    600

    #667F00

    oklch(55.6% 0.135 122.3)

  8. Step 700

    700

    #556B00

    oklch(49.2% 0.12 122.6)

  9. Step 800

    800

    #455700

    oklch(42.6% 0.104 122.4)

  10. Step 900

    900

    #394900

    oklch(37.8% 0.092 122.7)

  11. Step 950

    950

    #212B04

    oklch(27% 0.061 123)

Export this scale for Tailwind in the Tailwind colors tool

#97AF5B 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)#B8A6540.049
Deuteranopia (no green cones)#B4A6600.048
Tritanopia (no blue cones)#9DA89B0.093
Achromatopsia (no color)#A6A6A60.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #97AF5B

    #97AF5B

    oklch(71.7% 0.114 122.4)

  • #B192DF

    #B192DF

    oklch(71.7% 0.114 302.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #97AF5B

    #97AF5B

    oklch(71.7% 0.114 122.4)

  • #BDA147

    #BDA147

    oklch(71.6% 0.114 92)

  • #68B880

    #68B880

    oklch(71.6% 0.114 152.3)

Open the analogous palette in the generator

Split complementary

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

  • #97AF5B

    #97AF5B

    oklch(71.7% 0.114 122.4)

  • #8B9FEB

    #8B9FEB

    oklch(71.7% 0.113 272)

  • #CE88C3

    #CE88C3

    oklch(71.7% 0.115 332.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #97AF5B

    #97AF5B

    oklch(71.7% 0.114 122.4)

  • #5EACE5

    #5EACE5

    oklch(71.8% 0.114 242.3)

  • #DE849D

    #DE849D

    oklch(71.6% 0.114 2.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #97AF5B

    #97AF5B

    oklch(71.7% 0.114 122.4)

  • #31B6CD

    #31B6CD

    oklch(71.7% 0.114 212.1)

  • #B192DF

    #B192DF

    oklch(71.7% 0.114 302.1)

  • #E18876

    #E18876

    oklch(71.6% 0.113 32.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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