#8E8A28

Closest named color: Camo (#7F8F4E). oklch(61.9% 0.117 107), rgb(142, 138, 40).

Aa

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

About this color

#8E8A28 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.117 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.035 away. Black text reads best on it, at 5.81:1.

Hue familyYellows
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.117)
Temperaturewarm
Nearest nameCamo (#7F8F4E)
Black text5.81:1
White text3.61:1

Values

HEX#8E8A28
RGBrgb(142, 138, 40)
HSLhsl(58, 56%, 36%)
OKLCHoklch(61.9% 0.117 107)

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 #8E8A28 3.61:1 AA large text Lc -69.1 Content text, not long reading
Black text on #8E8A28 5.81:1 AA Lc 40.5 Non-text elements, placeholder text
#8E8A28 text on white 3.61:1 AA large text Lc 63.6 Content text, not long reading
#8E8A28 text on black 5.81:1 AA Lc -38.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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDE

    oklch(93.7% 0.017 106.7)

  3. Step 200

    200

    #DBDBC3

    oklch(88.5% 0.032 107)

  4. Step 300

    300

    #C4C499

    oklch(80.9% 0.058 107.6)

  5. Step 400

    400

    #A7A55F

    oklch(70.8% 0.092 107.1)

  6. Step 500

    500 (this color)

    #8E8A28

    oklch(61.9% 0.117 107)

  7. Step 600

    600

    #7C7700

    oklch(55.6% 0.119 106.8)

  8. Step 700

    700

    #686400

    oklch(49.1% 0.105 107)

  9. Step 800

    800

    #555200

    oklch(42.8% 0.092 107.3)

  10. Step 900

    900

    #464408

    oklch(37.7% 0.076 107.5)

  11. Step 950

    950

    #292808

    oklch(27% 0.049 107.5)

Export this scale for Tailwind in the Tailwind colors tool

#8E8A28 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)#9685180.017
Deuteranopia (no green cones)#98882F0.018
Tritanopia (no blue cones)#9981770.106
Achromatopsia (no color)#8787870.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E8A28

    #8E8A28

    oklch(61.9% 0.117 107)

  • #817AC8

    #817AC8

    oklch(61.9% 0.116 286.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E8A28

    #8E8A28

    oklch(61.9% 0.117 107)

  • #AD7B23

    #AD7B23

    oklch(61.8% 0.117 76.7)

  • #63964D

    #63964D

    oklch(61.9% 0.117 137)

Open the analogous palette in the generator

Split complementary

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

  • #8E8A28

    #8E8A28

    oklch(61.9% 0.117 107)

  • #5687CB

    #5687CB

    oklch(61.9% 0.117 256.8)

  • #A26EB4

    #A26EB4

    oklch(61.8% 0.117 317.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E8A28

    #8E8A28

    oklch(61.9% 0.117 107)

  • #0F93BC

    #0F93BC

    oklch(61.9% 0.117 226.9)

  • #B86793

    #B86793

    oklch(61.9% 0.117 347.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E8A28

    #8E8A28

    oklch(61.9% 0.117 107)

  • #00999B

    #00999B

    oklch(61.9% 0.105 196.4)

  • #817AC8

    #817AC8

    oklch(61.9% 0.116 286.6)

  • #C2666C

    #C2666C

    oklch(61.9% 0.117 17)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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