#8A9851

Closest named color: Moss (#769958). oklch(65.2% 0.097 118.3), rgb(138, 152, 81).

Aa

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

About this color

#8A9851 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.097 and its hue 118°. 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.69:1.

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

Values

HEX#8A9851
RGBrgb(138, 152, 81)
HSLhsl(72, 30%, 46%)
OKLCHoklch(65.2% 0.097 118.3)

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 #8A9851 3.13:1 AA large text Lc -63.8 Content text, not long reading
Black text on #8A9851 6.69:1 AA Lc 45.6 Large or bold text, headings
#8A9851 text on white 3.13:1 AA large text Lc 58.4 Large or bold text, headings
#8A9851 text on black 6.69:1 AA Lc -43.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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D7DCC9

    oklch(88.5% 0.026 118.9)

  4. Step 300

    300

    #BDC5A3

    oklch(80.8% 0.047 118.2)

  5. Step 400

    400

    #9CA871

    oklch(70.8% 0.077 118.4)

  6. Step 500

    500 (this color)

    #8A9851

    oklch(65.2% 0.097 118.3)

  7. Step 600

    600

    #6E7B2C

    oklch(55.5% 0.104 117.9)

  8. Step 700

    700

    #5C681E

    oklch(49.2% 0.098 118.1)

  9. Step 800

    800

    #4B551B

    oklch(42.8% 0.082 118.3)

  10. Step 900

    900

    #3E461D

    oklch(37.6% 0.063 118.7)

  11. Step 950

    950

    #242912

    oklch(26.9% 0.039 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A9851 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)#A0914B0.035
Deuteranopia (no green cones)#9F92550.036
Tritanopia (no blue cones)#9091870.082
Achromatopsia (no color)#9191910.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9851

    #8A9851

    oklch(65.2% 0.097 118.3)

  • #9783C3

    #9783C3

    oklch(65.3% 0.096 298.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9851

    #8A9851

    oklch(65.2% 0.097 118.3)

  • #A88C45

    #A88C45

    oklch(65.1% 0.096 88)

  • #65A06E

    #65A06E

    oklch(65.2% 0.096 148.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A9851

    #8A9851

    oklch(65.2% 0.097 118.3)

  • #778DCB

    #778DCB

    oklch(65.1% 0.097 268.7)

  • #B07AAE

    #B07AAE

    oklch(65.2% 0.098 327.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9851

    #8A9851

    oklch(65.2% 0.097 118.3)

  • #5298C4

    #5298C4

    oklch(65.2% 0.097 238.3)

  • #C0768F

    #C0768F

    oklch(65.2% 0.097 358.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9851

    #8A9851

    oklch(65.2% 0.097 118.3)

  • #35A0AF

    #35A0AF

    oklch(65.2% 0.097 208.5)

  • #9783C3

    #9783C3

    oklch(65.3% 0.096 298.1)

  • #C4786E

    #C4786E

    oklch(65.2% 0.097 28.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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