#9F940B

Closest named color: Pea Soup (#929901). oklch(65.6% 0.136 104.1), rgb(159, 148, 11).

Aa

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

About this color

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

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

Values

HEX#9F940B
RGBrgb(159, 148, 11)
HSLhsl(56, 87%, 33%)
OKLCHoklch(65.6% 0.136 104.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 #9F940B 3.12:1 AA large text Lc -63.5 Content text, not long reading
Black text on #9F940B 6.71:1 AA Lc 45.9 Large or bold text, headings
#9F940B text on white 3.12:1 AA large text Lc 58.1 Large or bold text, headings
#9F940B text on black 6.71:1 AA Lc -43.6 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

    #ECEBDC

    oklch(93.7% 0.02 103.7)

  3. Step 200

    200

    #DDDBBF

    oklch(88.6% 0.037 103.8)

  4. Step 300

    300

    #C7C391

    oklch(80.8% 0.067 103.9)

  5. Step 400

    400

    #ABA450

    oklch(70.7% 0.107 104.5)

  6. Step 500

    500 (this color)

    #9F940B

    oklch(65.6% 0.136 104.1)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2701

    oklch(26.9% 0.055 103.5)

Export this scale for Tailwind in the Tailwind colors tool

#9F940B 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)#A38F000.014
Deuteranopia (no green cones)#A6941C0.014
Tritanopia (no blue cones)#AC897E0.125
Achromatopsia (no color)#9292920.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F940B

    #9F940B

    oklch(65.6% 0.136 104.1)

  • #8883E0

    #8883E0

    oklch(65.5% 0.136 284.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F940B

    #9F940B

    oklch(65.6% 0.136 104.1)

  • #C1820C

    #C1820C

    oklch(65.5% 0.136 74.2)

  • #6DA347

    #6DA347

    oklch(65.7% 0.137 134.1)

Open the analogous palette in the generator

Split complementary

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

  • #9F940B

    #9F940B

    oklch(65.6% 0.136 104.1)

  • #5193E2

    #5193E2

    oklch(65.5% 0.137 254.2)

  • #AF76CA

    #AF76CA

    oklch(65.6% 0.135 314.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F940B

    #9F940B

    oklch(65.6% 0.136 104.1)

  • #00A0C8

    #00A0C8

    oklch(65.6% 0.123 223.8)

  • #CA6CA5

    #CA6CA5

    oklch(65.6% 0.137 344.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F940B

    #9F940B

    oklch(65.6% 0.136 104.1)

  • #00A6A5

    #00A6A5

    oklch(65.6% 0.112 194)

  • #8883E0

    #8883E0

    oklch(65.5% 0.136 284.4)

  • #D66A77

    #D66A77

    oklch(65.5% 0.136 14.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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