#8A9951

Closest named color: Moss (#769958). oklch(65.4% 0.098 118.9), rgb(138, 153, 81).

Aa

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

About this color

#8A9951 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.098 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Moss (#769958), ΔE 0.026 away. Black text reads best on it, at 6.75:1.

Hue familyYellows
Lightnessmedium-light (65%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameMoss (#769958)
Black text6.75:1
White text3.10:1

Values

HEX#8A9951
RGBrgb(138, 153, 81)
HSLhsl(73, 31%, 46%)
OKLCHoklch(65.4% 0.098 118.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 #8A9951 3.10:1 AA large text Lc -63.4 Content text, not long reading
Black text on #8A9951 6.75:1 AA Lc 46.0 Large or bold text, headings
#8A9951 text on white 3.10:1 AA large text Lc 58.0 Large or bold text, headings
#8A9951 text on black 6.75:1 AA Lc -43.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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D7DCC8

    oklch(88.5% 0.027 118.4)

  4. Step 300

    300

    #BDC5A3

    oklch(80.8% 0.047 118.2)

  5. Step 400

    400

    #9BA871

    oklch(70.8% 0.077 119.2)

  6. Step 500

    500 (this color)

    #8A9951

    oklch(65.4% 0.098 118.9)

  7. Step 600

    600

    #6D7C2B

    oklch(55.7% 0.107 118.9)

  8. Step 700

    700

    #5B681D

    oklch(49.1% 0.099 118.7)

  9. Step 800

    800

    #4A551B

    oklch(42.7% 0.082 119.1)

  10. Step 900

    900

    #3E461C

    oklch(37.6% 0.064 118.5)

  11. Step 950

    950

    #242911

    oklch(26.9% 0.041 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A9951 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)#A1924B0.036
Deuteranopia (no green cones)#9F92550.037
Tritanopia (no blue cones)#9092880.084
Achromatopsia (no color)#9292920.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9951

    #8A9951

    oklch(65.4% 0.098 118.9)

  • #9983C4

    #9983C4

    oklch(65.5% 0.098 299.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9951

    #8A9951

    oklch(65.4% 0.098 118.9)

  • #A98D44

    #A98D44

    oklch(65.4% 0.098 88.5)

  • #64A16F

    #64A16F

    oklch(65.4% 0.098 148.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A9951

    #8A9951

    oklch(65.4% 0.098 118.9)

  • #788ECD

    #788ECD

    oklch(65.5% 0.098 268.9)

  • #B27AAE

    #B27AAE

    oklch(65.4% 0.099 329.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9951

    #8A9951

    oklch(65.4% 0.098 118.9)

  • #5299C6

    #5299C6

    oklch(65.5% 0.098 238.5)

  • #C1768F

    #C1768F

    oklch(65.3% 0.099 358.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9951

    #8A9951

    oklch(65.4% 0.098 118.9)

  • #33A1B1

    #33A1B1

    oklch(65.5% 0.099 209.1)

  • #9983C4

    #9983C4

    oklch(65.5% 0.098 299.3)

  • #C5796E

    #C5796E

    oklch(65.4% 0.097 28.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A9951 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.