#97AB40

Closest named color: Avocado (#90B134). oklch(70.4% 0.134 119), rgb(151, 171, 64).

Aa

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

About this color

#97AB40 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 70%, its chroma 0.134 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.023 away. Black text reads best on it, at 8.21:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.21:1
White text2.55:1

Values

HEX#97AB40
RGBrgb(151, 171, 64)
HSLhsl(71, 46%, 46%)
OKLCHoklch(70.4% 0.134 119)

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 #97AB40 2.55:1 Fails Lc -55.1 Large or bold text, headings
Black text on #97AB40 8.21:1 AAA Lc 54.1 Large or bold text, headings
#97AB40 text on white 2.55:1 Fails Lc 50.0 Large or bold text, headings
#97AB40 text on black 8.21:1 AAA Lc -52.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

    #F4F7EE

    oklch(97.1% 0.012 121.7)

  2. Step 100

    100

    #E8ECDB

    oklch(93.5% 0.023 117.6)

  3. Step 200

    200

    #D5DEBC

    oklch(88.5% 0.046 119.4)

  4. Step 300

    300

    #BAC98B

    oklch(80.9% 0.084 119.4)

  5. Step 400

    400 (this color)

    #97AB40

    oklch(70.4% 0.134 119)

  6. Step 500

    500

    #819500

    oklch(63.2% 0.148 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3D4800

    oklch(37.8% 0.089 119.1)

  11. Step 950

    950

    #232A00

    oklch(26.9% 0.063 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#97AB40 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)#B6A2330.047
Deuteranopia (no green cones)#B3A2470.048
Tritanopia (no blue cones)#9FA2950.115
Achromatopsia (no color)#A2A2A20.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #97AB40

    #97AB40

    oklch(70.4% 0.134 119)

  • #AB8CE7

    #AB8CE7

    oklch(70.4% 0.133 298.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #97AB40

    #97AB40

    oklch(70.4% 0.134 119)

  • #C19A24

    #C19A24

    oklch(70.3% 0.134 88.8)

  • #5DB670

    #5DB670

    oklch(70.3% 0.133 148.9)

Open the analogous palette in the generator

Split complementary

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

  • #97AB40

    #97AB40

    oklch(70.4% 0.134 119)

  • #7E9BF3

    #7E9BF3

    oklch(70.5% 0.133 269)

  • #CD80C9

    #CD80C9

    oklch(70.5% 0.134 328.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #97AB40

    #97AB40

    oklch(70.4% 0.134 119)

  • #3EAAE9

    #3EAAE9

    oklch(70.4% 0.133 238.7)

  • #E27A9E

    #E27A9E

    oklch(70.5% 0.134 359.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #97AB40

    #97AB40

    oklch(70.4% 0.134 119)

  • #00B4C8

    #00B4C8

    oklch(70.5% 0.121 208.8)

  • #AB8CE7

    #AB8CE7

    oklch(70.4% 0.133 298.6)

  • #E77D6E

    #E77D6E

    oklch(70.4% 0.134 29.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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