#9F960B

Closest named color: Pea Soup (#929901). oklch(66% 0.138 105.2), rgb(159, 150, 11).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (66%)
Chromamoderately saturated (0.138)
Temperaturewarm
Nearest namePea Soup (#929901)
Black text6.84:1
White text3.06:1

Values

HEX#9F960B
RGBrgb(159, 150, 11)
HSLhsl(56, 87%, 33%)
OKLCHoklch(66% 0.138 105.2)

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 #9F960B 3.06:1 AA large text Lc -62.8 Content text, not long reading
Black text on #9F960B 6.84:1 AA Lc 46.6 Large or bold text, headings
#9F960B text on white 3.06:1 AA large text Lc 57.4 Large or bold text, headings
#9F960B text on black 6.84:1 AA Lc -44.3 Non-text elements, placeholder text

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

    #EBEBDC

    oklch(93.6% 0.02 106.8)

  3. Step 200

    200

    #DCDBBF

    oklch(88.5% 0.037 105.5)

  4. Step 300

    300

    #C6C491

    oklch(80.9% 0.068 105.9)

  5. Step 400

    400

    #AAA44F

    oklch(70.6% 0.108 105.2)

  6. Step 500

    500 (this color)

    #9F960B

    oklch(66% 0.138 105.2)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#9F960B 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)#A490000.017
Deuteranopia (no green cones)#A8951D0.017
Tritanopia (no blue cones)#AC8B7F0.125
Achromatopsia (no color)#9393930.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F960B

    #9F960B

    oklch(66% 0.138 105.2)

  • #8B84E2

    #8B84E2

    oklch(66% 0.137 285.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F960B

    #9F960B

    oklch(66% 0.138 105.2)

  • #C28406

    #C28406

    oklch(66% 0.138 75.5)

  • #6BA549

    #6BA549

    oklch(66.1% 0.139 135.4)

Open the analogous palette in the generator

Split complementary

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

  • #9F960B

    #9F960B

    oklch(66% 0.138 105.2)

  • #5494E5

    #5494E5

    oklch(66.1% 0.138 255.2)

  • #B276CB

    #B276CB

    oklch(66% 0.138 315.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F960B

    #9F960B

    oklch(66% 0.138 105.2)

  • #00A1CC

    #00A1CC

    oklch(66% 0.126 225.5)

  • #CC6DA5

    #CC6DA5

    oklch(66% 0.137 345.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F960B

    #9F960B

    oklch(66% 0.138 105.2)

  • #00A7A8

    #00A7A8

    oklch(66% 0.113 195.5)

  • #8B84E2

    #8B84E2

    oklch(66% 0.137 285.4)

  • #D96B76

    #D96B76

    oklch(66% 0.138 15.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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