#9B9940

Closest named color: Pea Soup (#929901). oklch(66.6% 0.111 107.9), rgb(155, 153, 64).

Aa

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

About this color

#9B9940 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 67%, its chroma 0.111 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.038 away. Black text reads best on it, at 7.02:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromamoderately saturated (0.111)
Temperaturewarm
Nearest namePea Soup (#929901)
Black text7.02:1
White text2.98:1

Values

HEX#9B9940
RGBrgb(155, 153, 64)
HSLhsl(59, 42%, 43%)
OKLCHoklch(66.6% 0.111 107.9)

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 #9B9940 2.98:1 Fails Lc -61.8 Content text, not long reading
Black text on #9B9940 7.02:1 AAA Lc 47.6 Large or bold text, headings
#9B9940 text on white 2.98:1 Fails Lc 56.5 Large or bold text, headings
#9B9940 text on black 7.02:1 AAA Lc -45.3 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 500.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DBDBC4

    oklch(88.5% 0.031 107)

  4. Step 300

    300

    #C4C49B

    oklch(81% 0.055 107.6)

  5. Step 400

    400

    #A6A563

    oklch(70.7% 0.088 107.7)

  6. Step 500

    500 (this color)

    #9B9940

    oklch(66.6% 0.111 107.9)

  7. Step 600

    600

    #7B7800

    oklch(55.7% 0.12 108)

  8. Step 700

    700

    #676400

    oklch(49% 0.105 107.7)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #46440D

    oklch(37.7% 0.073 107.3)

  11. Step 950

    950

    #29280A

    oklch(27% 0.046 107.3)

Export this scale for Tailwind in the Tailwind colors tool

#9B9940 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)#A593360.020
Deuteranopia (no green cones)#A697450.019
Tritanopia (no blue cones)#A590860.101
Achromatopsia (no color)#9595950.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B9940

    #9B9940

    oklch(66.6% 0.111 107.9)

  • #9189D5

    #9189D5

    oklch(66.8% 0.111 287.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B9940

    #9B9940

    oklch(66.6% 0.111 107.9)

  • #BA8B3B

    #BA8B3B

    oklch(66.7% 0.112 77.9)

  • #71A45F

    #71A45F

    oklch(66.5% 0.112 137.9)

Open the analogous palette in the generator

Split complementary

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

  • #9B9940

    #9B9940

    oklch(66.6% 0.111 107.9)

  • #6895D8

    #6895D8

    oklch(66.6% 0.112 258.1)

  • #B17EC1

    #B17EC1

    oklch(66.8% 0.111 317.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B9940

    #9B9940

    oklch(66.6% 0.111 107.9)

  • #37A1CA

    #37A1CA

    oklch(66.7% 0.112 228.1)

  • #C677A0

    #C677A0

    oklch(66.7% 0.111 348.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B9940

    #9B9940

    oklch(66.6% 0.111 107.9)

  • #0FA9AD

    #0FA9AD

    oklch(66.8% 0.112 197.9)

  • #9189D5

    #9189D5

    oklch(66.8% 0.111 287.8)

  • #D0777A

    #D0777A

    oklch(66.8% 0.111 18.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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