#9A8F0A

Closest named color: Dark Mustard (#A88905). oklch(64% 0.133 104), rgb(154, 143, 10).

Aa

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

About this color

#9A8F0A is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.133 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.026 away. Black text reads best on it, at 6.30:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.30:1
White text3.32:1

Values

HEX#9A8F0A
RGBrgb(154, 143, 10)
HSLhsl(55, 88%, 32%)
OKLCHoklch(64% 0.133 104)

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 #9A8F0A 3.32:1 AA large text Lc -66.0 Content text, not long reading
Black text on #9A8F0A 6.30:1 AA Lc 43.5 Non-text elements, placeholder text
#9A8F0A text on white 3.32:1 AA large text Lc 60.5 Content text, not long reading
#9A8F0A text on black 6.30:1 AA Lc -41.2 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

    #ECEBDD

    oklch(93.7% 0.019 103.4)

  3. Step 200

    200

    #DDDBC0

    oklch(88.6% 0.036 103.6)

  4. Step 300

    300

    #C7C393

    oklch(80.8% 0.064 103.7)

  5. Step 400

    400

    #ABA452

    oklch(70.7% 0.105 104.3)

  6. Step 500

    500 (this color)

    #9A8F0A

    oklch(64% 0.133 104)

  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

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2702

    oklch(26.9% 0.054 103.3)

Export this scale for Tailwind in the Tailwind colors tool

#9A8F0A 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)#9D8A000.013
Deuteranopia (no green cones)#A18F1B0.014
Tritanopia (no blue cones)#A784790.122
Achromatopsia (no color)#8D8D8D0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A8F0A

    #9A8F0A

    oklch(64% 0.133 104)

  • #837FD9

    #837FD9

    oklch(63.9% 0.133 284)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A8F0A

    #9A8F0A

    oklch(64% 0.133 104)

  • #BB7E0C

    #BB7E0C

    oklch(64% 0.133 74.3)

  • #699D44

    #699D44

    oklch(63.9% 0.133 134)

Open the analogous palette in the generator

Split complementary

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

  • #9A8F0A

    #9A8F0A

    oklch(64% 0.133 104)

  • #4E8EDA

    #4E8EDA

    oklch(63.9% 0.133 254)

  • #A972C4

    #A972C4

    oklch(64% 0.132 313.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A8F0A

    #9A8F0A

    oklch(64% 0.133 104)

  • #009BC2

    #009BC2

    oklch(64.1% 0.12 223.9)

  • #C368A0

    #C368A0

    oklch(63.9% 0.134 343.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A8F0A

    #9A8F0A

    oklch(64% 0.133 104)

  • #00A09F

    #00A09F

    oklch(63.9% 0.109 194)

  • #837FD9

    #837FD9

    oklch(63.9% 0.133 284)

  • #CF6773

    #CF6773

    oklch(64% 0.132 14.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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