#8A8F5B

Closest named color: Camo (#7F8F4E). oklch(63.3% 0.072 112.9), rgb(138, 143, 91).

Aa

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

About this color

#8A8F5B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.072 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.024 away. Black text reads best on it, at 6.16:1.

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

Values

HEX#8A8F5B
RGBrgb(138, 143, 91)
HSLhsl(66, 22%, 46%)
OKLCHoklch(63.3% 0.072 112.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 #8A8F5B 3.40:1 AA large text Lc -67.0 Content text, not long reading
Black text on #8A8F5B 6.16:1 AA Lc 42.5 Non-text elements, placeholder text
#8A8F5B text on white 3.40:1 AA large text Lc 61.6 Content text, not long reading
#8A8F5B text on black 6.16:1 AA Lc -40.1 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

    #EAEBE3

    oklch(93.7% 0.011 112.4)

  3. Step 200

    200

    #D9DBCC

    oklch(88.6% 0.02 113)

  4. Step 300

    300

    #C0C3AA

    oklch(80.8% 0.034 112.7)

  5. Step 400

    400

    #A0A57C

    oklch(70.7% 0.057 113.5)

  6. Step 500

    500 (this color)

    #8A8F5B

    oklch(63.3% 0.072 112.9)

  7. Step 600

    600

    #737840

    oklch(55.5% 0.078 113.1)

  8. Step 700

    700

    #616532

    oklch(49.1% 0.073 112.7)

  9. Step 800

    800

    #4F532A

    oklch(42.8% 0.061 113.6)

  10. Step 900

    900

    #424426

    oklch(37.7% 0.047 111.7)

  11. Step 950

    950

    #262817

    oklch(26.9% 0.03 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A8F5B 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)#968A570.021
Deuteranopia (no green cones)#968C5D0.020
Tritanopia (no blue cones)#9089820.064
Achromatopsia (no color)#8B8B8B0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A8F5B

    #8A8F5B

    oklch(63.3% 0.072 112.9)

  • #8B82B2

    #8B82B2

    oklch(63.2% 0.072 292.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A8F5B

    #8A8F5B

    oklch(63.3% 0.072 112.9)

  • #A08656

    #A08656

    oklch(63.3% 0.072 82.1)

  • #70966D

    #70966D

    oklch(63.4% 0.074 142.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A8F5B

    #8A8F5B

    oklch(63.3% 0.072 112.9)

  • #738AB7

    #738AB7

    oklch(63.3% 0.073 263.4)

  • #A07BA4

    #A07BA4

    oklch(63.3% 0.074 323.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A8F5B

    #8A8F5B

    oklch(63.3% 0.072 112.9)

  • #5B92AF

    #5B92AF

    oklch(63.3% 0.073 232.6)

  • #AD788E

    #AD788E

    oklch(63.3% 0.072 352.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A8F5B

    #8A8F5B

    oklch(63.3% 0.072 112.9)

  • #4F979D

    #4F979D

    oklch(63.2% 0.073 202.6)

  • #8B82B2

    #8B82B2

    oklch(63.2% 0.072 292.8)

  • #B27975

    #B27975

    oklch(63.3% 0.072 23.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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