#9B9A1F

Closest named color: Pea Soup (#929901). oklch(66.6% 0.135 109.1), rgb(155, 154, 31).

Aa

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

About this color

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

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

Values

HEX#9B9A1F
RGBrgb(155, 154, 31)
HSLhsl(60, 67%, 36%)
OKLCHoklch(66.6% 0.135 109.1)

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 #9B9A1F 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #9B9A1F 7.03:1 AAA Lc 47.7 Large or bold text, headings
#9B9A1F text on white 2.98:1 Fails Lc 56.3 Large or bold text, headings
#9B9A1F text on black 7.03:1 AAA Lc -45.4 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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #EAEBDD

    oklch(93.5% 0.019 110.1)

  3. Step 200

    200

    #DADCC0

    oklch(88.6% 0.037 110.5)

  4. Step 300

    300

    #C3C593

    oklch(80.9% 0.067 109.7)

  5. Step 400

    400

    #A6A653

    oklch(70.7% 0.106 108.8)

  6. Step 500

    500 (this color)

    #9B9A1F

    oklch(66.6% 0.135 109.1)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535200

    oklch(42.6% 0.092 108.9)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #292802

    oklch(26.9% 0.056 108.1)

Export this scale for Tailwind in the Tailwind colors tool

#9B9A1F 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)#A793000.023
Deuteranopia (no green cones)#A9972A0.025
Tritanopia (no blue cones)#A790840.122
Achromatopsia (no color)#9595950.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B9A1F

    #9B9A1F

    oklch(66.6% 0.135 109.1)

  • #9284E1

    #9284E1

    oklch(66.5% 0.136 289.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B9A1F

    #9B9A1F

    oklch(66.6% 0.135 109.1)

  • #C0880E

    #C0880E

    oklch(66.5% 0.135 78.7)

  • #66A853

    #66A853

    oklch(66.7% 0.136 139)

Open the analogous palette in the generator

Split complementary

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

  • #9B9A1F

    #9B9A1F

    oklch(66.6% 0.135 109.1)

  • #5F94E6

    #5F94E6

    oklch(66.6% 0.135 258.8)

  • #B777C8

    #B777C8

    oklch(66.5% 0.135 319)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B9A1F

    #9B9A1F

    oklch(66.6% 0.135 109.1)

  • #00A2D4

    #00A2D4

    oklch(66.6% 0.132 229.2)

  • #D06FA1

    #D06FA1

    oklch(66.7% 0.135 349.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B9A1F

    #9B9A1F

    oklch(66.6% 0.135 109.1)

  • #00A9AE

    #00A9AE

    oklch(66.7% 0.113 198.5)

  • #9284E1

    #9284E1

    oklch(66.5% 0.136 289.1)

  • #DA6E72

    #DA6E72

    oklch(66.5% 0.135 19.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9B9A1F.

Similar named colors

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

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