#9DAA42

Closest named color: Avocado (#90B134). oklch(70.7% 0.129 115.8), rgb(157, 170, 66).

Aa

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

About this color

#9DAA42 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 71%, its chroma 0.129 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.031 away. Black text reads best on it, at 8.26:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.26:1
White text2.54:1

Values

HEX#9DAA42
RGBrgb(157, 170, 66)
HSLhsl(68, 44%, 46%)
OKLCHoklch(70.7% 0.129 115.8)

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 #9DAA42 2.54:1 Fails Lc -54.8 Large or bold text, headings
Black text on #9DAA42 8.26:1 AAA Lc 54.3 Large or bold text, headings
#9DAA42 text on white 2.54:1 Fails Lc 49.7 Large or bold text, headings
#9DAA42 text on black 8.26:1 AAA Lc -52.2 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

    #E9ECDB

    oklch(93.6% 0.023 115)

  3. Step 200

    200

    #D7DDBC

    oklch(88.4% 0.044 115.7)

  4. Step 300

    300

    #BEC88B

    oklch(81% 0.082 115.8)

  5. Step 400

    400 (this color)

    #9DAA42

    oklch(70.7% 0.129 115.8)

  6. Step 500

    500

    #869300

    oklch(63.1% 0.144 115.9)

  7. Step 600

    600

    #707B00

    oklch(55.5% 0.127 115.8)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404700

    oklch(37.8% 0.086 116)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#9DAA42 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)#B5A2360.037
Deuteranopia (no green cones)#B4A3490.040
Tritanopia (no blue cones)#A6A1940.112
Achromatopsia (no color)#A2A2A20.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #9DAA42

    #9DAA42

    oklch(70.7% 0.129 115.8)

  • #A88FE8

    #A88FE8

    oklch(70.8% 0.129 295.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9DAA42

    #9DAA42

    oklch(70.7% 0.129 115.8)

  • #C49A2F

    #C49A2F

    oklch(70.7% 0.129 86.2)

  • #68B66E

    #68B66E

    oklch(70.8% 0.129 145.7)

Open the analogous palette in the generator

Split complementary

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

  • #9DAA42

    #9DAA42

    oklch(70.7% 0.129 115.8)

  • #7A9EF1

    #7A9EF1

    oklch(70.8% 0.129 265.5)

  • #CA83CC

    #CA83CC

    oklch(70.8% 0.129 325.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9DAA42

    #9DAA42

    oklch(70.7% 0.129 115.8)

  • #3DACE6

    #3DACE6

    oklch(70.7% 0.13 236)

  • #DF7CA3

    #DF7CA3

    oklch(70.6% 0.13 355.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9DAA42

    #9DAA42

    oklch(70.7% 0.129 115.8)

  • #00B5C5

    #00B5C5

    oklch(70.6% 0.121 206)

  • #A88FE8

    #A88FE8

    oklch(70.8% 0.129 295.9)

  • #E67E76

    #E67E76

    oklch(70.6% 0.13 25.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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