#8A9B52

Closest named color: Moss (#769958). oklch(65.9% 0.1 120), rgb(138, 155, 82).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (66%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameMoss (#769958)
Black text6.89:1
White text3.04:1

Values

HEX#8A9B52
RGBrgb(138, 155, 82)
HSLhsl(74, 31%, 46%)
OKLCHoklch(65.9% 0.1 120)

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 #8A9B52 3.04:1 AA large text Lc -62.6 Content text, not long reading
Black text on #8A9B52 6.89:1 AA Lc 46.8 Large or bold text, headings
#8A9B52 text on white 3.04:1 AA large text Lc 57.3 Large or bold text, headings
#8A9B52 text on black 6.89:1 AA Lc -44.5 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

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D6DCC8

    oklch(88.4% 0.028 120.6)

  4. Step 300

    300

    #BCC6A3

    oklch(80.9% 0.049 120.5)

  5. Step 400

    400

    #9AA870

    oklch(70.7% 0.078 119.9)

  6. Step 500

    500 (this color)

    #8A9B52

    oklch(65.9% 0.1 120)

  7. Step 600

    600

    #6B7C2A

    oklch(55.5% 0.109 120.1)

  8. Step 700

    700

    #5A691C

    oklch(49.2% 0.102 119.9)

  9. Step 800

    800

    #49551A

    oklch(42.6% 0.083 119.9)

  10. Step 900

    900

    #3D471C

    oklch(37.8% 0.066 120.5)

  11. Step 950

    950

    #242911

    oklch(26.9% 0.041 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A9B52 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)#A3944C0.038
Deuteranopia (no green cones)#A194560.039
Tritanopia (no blue cones)#90948A0.085
Achromatopsia (no color)#9494940.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9B52

    #8A9B52

    oklch(65.9% 0.1 120)

  • #9B84C6

    #9B84C6

    oklch(65.9% 0.099 299.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9B52

    #8A9B52

    oklch(65.9% 0.1 120)

  • #AA8F44

    #AA8F44

    oklch(65.9% 0.1 89.7)

  • #63A371

    #63A371

    oklch(65.9% 0.099 150)

Open the analogous palette in the generator

Split complementary

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

  • #8A9B52

    #8A9B52

    oklch(65.9% 0.1 120)

  • #7A8FD0

    #7A8FD0

    oklch(66% 0.1 269.8)

  • #B57BAF

    #B57BAF

    oklch(65.9% 0.1 330.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9B52

    #8A9B52

    oklch(65.9% 0.1 120)

  • #549AC9

    #549AC9

    oklch(66% 0.1 240)

  • #C4778F

    #C4778F

    oklch(65.9% 0.1 0.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9B52

    #8A9B52

    oklch(65.9% 0.1 120)

  • #33A2B4

    #33A2B4

    oklch(65.9% 0.1 210.6)

  • #9B84C6

    #9B84C6

    oklch(65.9% 0.099 299.7)

  • #C87A6D

    #C87A6D

    oklch(66% 0.1 30.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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