#8A8F56

Closest named color: Camo (#7F8F4E). oklch(63.2% 0.079 112.7), rgb(138, 143, 86).

Aa

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

About this color

#8A8F56 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.079 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.020 away. Black text reads best on it, at 6.14:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text6.14:1
White text3.41:1

Values

HEX#8A8F56
RGBrgb(138, 143, 86)
HSLhsl(65, 25%, 45%)
OKLCHoklch(63.2% 0.079 112.7)

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 #8A8F56 3.41:1 AA large text Lc -67.1 Content text, not long reading
Black text on #8A8F56 6.14:1 AA Lc 42.4 Non-text elements, placeholder text
#8A8F56 text on white 3.41:1 AA large text Lc 61.7 Content text, not long reading
#8A8F56 text on black 6.14:1 AA Lc -40.0 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #D9DBCB

    oklch(88.5% 0.022 112.6)

  4. Step 300

    300

    #C0C4A8

    oklch(81% 0.038 113.9)

  5. Step 400

    400

    #A1A579

    oklch(70.7% 0.061 112.2)

  6. Step 500

    500 (this color)

    #8A8F56

    oklch(63.2% 0.079 112.7)

  7. Step 600

    600

    #74793A

    oklch(55.7% 0.086 112.9)

  8. Step 700

    700

    #61652C

    oklch(49% 0.079 112.6)

  9. Step 800

    800

    #4F5326

    oklch(42.8% 0.066 113.4)

  10. Step 900

    900

    #424423

    oklch(37.6% 0.051 111.6)

  11. Step 950

    950

    #262815

    oklch(26.9% 0.033 113.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A8F56 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)#978A520.022
Deuteranopia (no green cones)#978C590.022
Tritanopia (no blue cones)#9189810.069
Achromatopsia (no color)#8B8B8B0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8F56

    #8A8F56

    oklch(63.2% 0.079 112.7)

  • #8B81B6

    #8B81B6

    oklch(63.2% 0.079 292.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8F56

    #8A8F56

    oklch(63.2% 0.079 112.7)

  • #A18550

    #A18550

    oklch(63.1% 0.079 82.4)

  • #6E966A

    #6E966A

    oklch(63.2% 0.078 142.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A8F56

    #8A8F56

    oklch(63.2% 0.079 112.7)

  • #708ABA

    #708ABA

    oklch(63.2% 0.079 262.3)

  • #A17AA6

    #A17AA6

    oklch(63.3% 0.079 322.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8F56

    #8A8F56

    oklch(63.2% 0.079 112.7)

  • #5692B2

    #5692B2

    oklch(63.2% 0.079 233.2)

  • #AF768E

    #AF768E

    oklch(63.2% 0.078 352.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8F56

    #8A8F56

    oklch(63.2% 0.079 112.7)

  • #48989F

    #48989F

    oklch(63.2% 0.079 203)

  • #8B81B6

    #8B81B6

    oklch(63.2% 0.079 292.6)

  • #B57774

    #B57774

    oklch(63.3% 0.079 22.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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