#8A9751

Closest named color: Moss (#769958). oklch(65% 0.096 117.8), rgb(138, 151, 81).

Aa

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

About this color

#8A9751 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.096 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.62:1.

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

Values

HEX#8A9751
RGBrgb(138, 151, 81)
HSLhsl(71, 30%, 45%)
OKLCHoklch(65% 0.096 117.8)

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 #8A9751 3.16:1 AA large text Lc -64.2 Content text, not long reading
Black text on #8A9751 6.62:1 AA Lc 45.3 Large or bold text, headings
#8A9751 text on white 3.16:1 AA large text Lc 58.8 Large or bold text, headings
#8A9751 text on black 6.62:1 AA Lc -42.9 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

    #BEC5A3

    oklch(80.9% 0.047 116.9)

  5. Step 400

    400

    #9CA772

    oklch(70.6% 0.074 117.9)

  6. Step 500

    500 (this color)

    #8A9751

    oklch(65% 0.096 117.8)

  7. Step 600

    600

    #6E7B2D

    oklch(55.5% 0.104 117.9)

  8. Step 700

    700

    #5C681F

    oklch(49.2% 0.097 118.2)

  9. Step 800

    800

    #4B551C

    oklch(42.8% 0.081 118.4)

  10. Step 900

    900

    #3F461D

    oklch(37.7% 0.062 117.5)

  11. Step 950

    950

    #252912

    oklch(27% 0.039 117.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A9751 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)#9F904B0.033
Deuteranopia (no green cones)#9E91550.034
Tritanopia (no blue cones)#9090860.081
Achromatopsia (no color)#9191910.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9751

    #8A9751

    oklch(65% 0.096 117.8)

  • #9682C2

    #9682C2

    oklch(64.9% 0.096 298)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9751

    #8A9751

    oklch(65% 0.096 117.8)

  • #A88C45

    #A88C45

    oklch(65.1% 0.096 88)

  • #659F6D

    #659F6D

    oklch(64.9% 0.096 147.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A9751

    #8A9751

    oklch(65% 0.096 117.8)

  • #768DCA

    #768DCA

    oklch(65% 0.095 267.9)

  • #AF7AAD

    #AF7AAD

    oklch(65% 0.096 327.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9751

    #8A9751

    oklch(65% 0.096 117.8)

  • #5297C2

    #5297C2

    oklch(64.9% 0.095 238)

  • #BE768F

    #BE768F

    oklch(65% 0.095 357.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9751

    #8A9751

    oklch(65% 0.096 117.8)

  • #369FAD

    #369FAD

    oklch(64.9% 0.095 207.8)

  • #9682C2

    #9682C2

    oklch(64.9% 0.096 298)

  • #C3786E

    #C3786E

    oklch(65% 0.096 28.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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