#888E20

Closest named color: Dark Yellow Green (#728F02). oklch(62.2% 0.127 112.8), rgb(136, 142, 32).

Aa

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

About this color

#888E20 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.127 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.036 away. Black text reads best on it, at 5.93:1.

Hue familyYellows
Lightnessmedium-light (62%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text5.93:1
White text3.53:1

Values

HEX#888E20
RGBrgb(136, 142, 32)
HSLhsl(63, 63%, 34%)
OKLCHoklch(62.2% 0.127 112.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 #888E20 3.53:1 AA large text Lc -68.3 Content text, not long reading
Black text on #888E20 5.93:1 AA Lc 41.2 Non-text elements, placeholder text
#888E20 text on white 3.53:1 AA large text Lc 62.8 Content text, not long reading
#888E20 text on black 5.93:1 AA Lc -38.8 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #EAEBDE

    oklch(93.6% 0.017 110.3)

  3. Step 200

    200

    #D9DCC2

    oklch(88.5% 0.035 112.5)

  4. Step 300

    300

    #C0C597

    oklch(80.8% 0.062 112.8)

  5. Step 400

    400

    #A1A75C

    oklch(70.7% 0.099 112.7)

  6. Step 500

    500 (this color)

    #888E20

    oklch(62.2% 0.127 112.8)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424601

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272906

    oklch(27.1% 0.053 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#888E20 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)#9987040.029
Deuteranopia (no green cones)#99892A0.031
Tritanopia (no blue cones)#9285790.113
Achromatopsia (no color)#8888880.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #888E20

    #888E20

    oklch(62.2% 0.127 112.8)

  • #8A77CC

    #8A77CC

    oklch(62.3% 0.126 292.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #888E20

    #888E20

    oklch(62.2% 0.127 112.8)

  • #AC7E03

    #AC7E03

    oklch(62.2% 0.127 82.6)

  • #559A51

    #559A51

    oklch(62.3% 0.127 142.8)

Open the analogous palette in the generator

Split complementary

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

  • #888E20

    #888E20

    oklch(62.2% 0.127 112.8)

  • #5D85D3

    #5D85D3

    oklch(62.3% 0.127 262.7)

  • #AB6BB3

    #AB6BB3

    oklch(62.3% 0.127 322.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #888E20

    #888E20

    oklch(62.2% 0.127 112.8)

  • #0592C6

    #0592C6

    oklch(62.1% 0.127 232.9)

  • #C0648E

    #C0648E

    oklch(62.3% 0.127 352.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #888E20

    #888E20

    oklch(62.2% 0.127 112.8)

  • #0099A3

    #0099A3

    oklch(62.2% 0.106 203)

  • #8A77CC

    #8A77CC

    oklch(62.3% 0.126 292.6)

  • #C86462

    #C86462

    oklch(62.1% 0.128 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 #888E20, closest first.

Similar named colors

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

Use #888E20 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.