#9A8F4E

Closest named color: Dark Sand (#A88F59). oklch(64.5% 0.087 99.9), rgb(154, 143, 78).

Aa

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

About this color

#9A8F4E is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.087 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Sand (#A88F59), ΔE 0.027 away. Black text reads best on it, at 6.41:1.

Hue familyYellows
Lightnessmedium-light (65%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameDark Sand (#A88F59)
Black text6.41:1
White text3.27:1

Values

HEX#9A8F4E
RGBrgb(154, 143, 78)
HSLhsl(51, 33%, 45%)
OKLCHoklch(64.5% 0.087 99.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 #9A8F4E 3.27:1 AA large text Lc -65.5 Content text, not long reading
Black text on #9A8F4E 6.41:1 AA Lc 44.0 Non-text elements, placeholder text
#9A8F4E text on white 3.27:1 AA large text Lc 60.0 Content text, not long reading
#9A8F4E text on black 6.41:1 AA Lc -41.7 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE1

    oklch(93.5% 0.012 101.5)

  3. Step 200

    200

    #DCDAC8

    oklch(88.5% 0.024 101.7)

  4. Step 300

    300

    #C7C2A3

    oklch(81% 0.042 99.7)

  5. Step 400

    400

    #AAA270

    oklch(70.7% 0.068 100.2)

  6. Step 500

    500 (this color)

    #9A8F4E

    oklch(64.5% 0.087 99.9)

  7. Step 600

    600

    #80742B

    oklch(55.5% 0.094 99.9)

  8. Step 700

    700

    #6D611D

    oklch(49% 0.088 99.1)

  9. Step 800

    800

    #58501B

    oklch(42.8% 0.073 100.7)

  10. Step 900

    900

    #49421C

    oklch(37.7% 0.057 99)

  11. Step 950

    950

    #2A2711

    oklch(27% 0.036 101.6)

Export this scale for Tailwind in the Tailwind colors tool

#9A8F4E 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)#9A8C480.009
Deuteranopia (no green cones)#9D90510.006
Tritanopia (no blue cones)#A487800.079
Achromatopsia (no color)#8E8E8E0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A8F4E

    #9A8F4E

    oklch(64.5% 0.087 99.9)

  • #8388C2

    #8388C2

    oklch(64.5% 0.087 279.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A8F4E

    #9A8F4E

    oklch(64.5% 0.087 99.9)

  • #B08451

    #B08451

    oklch(64.5% 0.087 69.4)

  • #7C985F

    #7C985F

    oklch(64.4% 0.086 129.8)

Open the analogous palette in the generator

Split complementary

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

  • #9A8F4E

    #9A8F4E

    oklch(64.5% 0.087 99.9)

  • #6492C1

    #6492C1

    oklch(64.6% 0.087 249.8)

  • #9E7FB6

    #9E7FB6

    oklch(64.6% 0.087 309.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A8F4E

    #9A8F4E

    oklch(64.5% 0.087 99.9)

  • #489AB2

    #489AB2

    oklch(64.5% 0.087 219.8)

  • #B1799E

    #B1799E

    oklch(64.5% 0.085 340)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A8F4E

    #9A8F4E

    oklch(64.5% 0.087 99.9)

  • #439F99

    #439F99

    oklch(64.6% 0.087 189.4)

  • #8388C2

    #8388C2

    oklch(64.5% 0.087 279.9)

  • #BC7782

    #BC7782

    oklch(64.5% 0.087 9.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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