#9CB342

Closest named color: Avocado (#90B134). oklch(72.7% 0.14 119.8), rgb(156, 179, 66).

Aa

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

About this color

#9CB342 is a medium-light, vivid yellow. In OKLCH its lightness is 73%, its chroma 0.140 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.021 away. Black text reads best on it, at 8.94:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromavivid (0.140)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.94:1
White text2.34:1

Values

HEX#9CB342
RGBrgb(156, 179, 66)
HSLhsl(72, 46%, 48%)
OKLCHoklch(72.7% 0.14 119.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 #9CB342 2.34:1 Fails Lc -51.1 Large or bold text, headings
Black text on #9CB342 8.94:1 AAA Lc 57.8 Large or bold text, headings
#9CB342 text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#9CB342 text on black 8.94:1 AAA Lc -55.8 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

    #D5DEBB

    oklch(88.5% 0.048 119.1)

  4. Step 300

    300

    #B9C989

    oklch(80.8% 0.087 119.8)

  5. Step 400

    400 (this color)

    #9CB342

    oklch(72.7% 0.14 119.8)

  6. Step 500

    500

    #7F9500

    oklch(63% 0.149 119.6)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  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

#9CB342 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)#BEA9340.051
Deuteranopia (no green cones)#BBA94A0.053
Tritanopia (no blue cones)#A4AA9B0.118
Achromatopsia (no color)#A9A9A90.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #9CB342

    #9CB342

    oklch(72.7% 0.14 119.8)

  • #B491F1

    #B491F1

    oklch(72.6% 0.14 299.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9CB342

    #9CB342

    oklch(72.7% 0.14 119.8)

  • #C9A121

    #C9A121

    oklch(72.6% 0.14 89.5)

  • #5DBF76

    #5DBF76

    oklch(72.7% 0.141 150)

Open the analogous palette in the generator

Split complementary

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

  • #9CB342

    #9CB342

    oklch(72.7% 0.14 119.8)

  • #84A1FF

    #84A1FF

    oklch(72.7% 0.141 269.7)

  • #D784D1

    #D784D1

    oklch(72.6% 0.141 329.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9CB342

    #9CB342

    oklch(72.7% 0.14 119.8)

  • #40B1F5

    #40B1F5

    oklch(72.7% 0.14 239.7)

  • #EC7EA3

    #EC7EA3

    oklch(72.6% 0.14 359.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9CB342

    #9CB342

    oklch(72.7% 0.14 119.8)

  • #00BBD2

    #00BBD2

    oklch(72.6% 0.126 210.3)

  • #B491F1

    #B491F1

    oklch(72.6% 0.14 299.7)

  • #F28271

    #F28271

    oklch(72.7% 0.14 29.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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