#9BAA42

Closest named color: Avocado (#90B134). oklch(70.5% 0.13 116.8), rgb(155, 170, 66).

Aa

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

About this color

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

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

Values

HEX#9BAA42
RGBrgb(155, 170, 66)
HSLhsl(69, 44%, 46%)
OKLCHoklch(70.5% 0.13 116.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 #9BAA42 2.55:1 Fails Lc -55.0 Large or bold text, headings
Black text on #9BAA42 8.22:1 AAA Lc 54.1 Large or bold text, headings
#9BAA42 text on white 2.55:1 Fails Lc 49.9 Large or bold text, headings
#9BAA42 text on black 8.22: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

    #F5F6EE

    oklch(97% 0.011 112.4)

  2. Step 100

    100

    #E8ECDB

    oklch(93.5% 0.023 117.6)

  3. Step 200

    200

    #D7DDBC

    oklch(88.4% 0.044 115.7)

  4. Step 300

    300

    #BDC88C

    oklch(81% 0.081 116.7)

  5. Step 400

    400 (this color)

    #9BAA42

    oklch(70.5% 0.13 116.8)

  6. Step 500

    500

    #849400

    oklch(63.2% 0.146 117.1)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#9BAA42 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.040
Deuteranopia (no green cones)#B4A3490.042
Tritanopia (no blue cones)#A4A1940.112
Achromatopsia (no color)#A2A2A20.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #9BAA42

    #9BAA42

    oklch(70.5% 0.13 116.8)

  • #A88EE7

    #A88EE7

    oklch(70.5% 0.129 296.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9BAA42

    #9BAA42

    oklch(70.5% 0.13 116.8)

  • #C39A2D

    #C39A2D

    oklch(70.6% 0.13 86.9)

  • #65B66F

    #65B66F

    oklch(70.6% 0.13 146.8)

Open the analogous palette in the generator

Split complementary

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

  • #9BAA42

    #9BAA42

    oklch(70.5% 0.13 116.8)

  • #7B9DF1

    #7B9DF1

    oklch(70.6% 0.129 266.4)

  • #CA82CA

    #CA82CA

    oklch(70.5% 0.129 326.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9BAA42

    #9BAA42

    oklch(70.5% 0.13 116.8)

  • #3EABE6

    #3EABE6

    oklch(70.5% 0.13 236.8)

  • #DF7CA1

    #DF7CA1

    oklch(70.6% 0.129 357.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9BAA42

    #9BAA42

    oklch(70.5% 0.13 116.8)

  • #00B5C6

    #00B5C6

    oklch(70.6% 0.121 206.7)

  • #A88EE7

    #A88EE7

    oklch(70.5% 0.129 296.4)

  • #E67E74

    #E67E74

    oklch(70.6% 0.13 26.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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