#888F12

Closest named color: Dark Yellow Green (#728F02). oklch(62.4% 0.135 113.2), rgb(136, 143, 18).

Aa

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

About this color

#888F12 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.135 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.032 away. Black text reads best on it, at 5.98:1.

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

Values

HEX#888F12
RGBrgb(136, 143, 18)
HSLhsl(63, 78%, 32%)
OKLCHoklch(62.4% 0.135 113.2)

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 #888F12 3.50:1 AA large text Lc -68.0 Content text, not long reading
Black text on #888F12 5.98:1 AA Lc 41.6 Non-text elements, placeholder text
#888F12 text on white 3.50:1 AA large text Lc 62.5 Content text, not long reading
#888F12 text on black 5.98:1 AA Lc -39.2 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

    #E9EBDD

    oklch(93.5% 0.019 113.4)

  3. Step 200

    200

    #D9DCC1

    oklch(88.5% 0.036 112.3)

  4. Step 300

    300

    #C0C695

    oklch(81% 0.066 113.6)

  5. Step 400

    400

    #A1A857

    oklch(70.8% 0.105 113.1)

  6. Step 500

    500 (this color)

    #888F12

    oklch(62.4% 0.135 113.2)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #616700

    oklch(49.2% 0.11 113.7)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272904

    oklch(27% 0.055 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#888F12 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)#9A88000.031
Deuteranopia (no green cones)#9B8A200.034
Tritanopia (no blue cones)#92867A0.120
Achromatopsia (no color)#8989890.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #888F12

    #888F12

    oklch(62.4% 0.135 113.2)

  • #8B75D0

    #8B75D0

    oklch(62.2% 0.135 293.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #888F12

    #888F12

    oklch(62.4% 0.135 113.2)

  • #AC7F00

    #AC7F00

    oklch(62.4% 0.128 83.5)

  • #509B4E

    #509B4E

    oklch(62.2% 0.134 143.3)

Open the analogous palette in the generator

Split complementary

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

  • #888F12

    #888F12

    oklch(62.4% 0.135 113.2)

  • #5B85D8

    #5B85D8

    oklch(62.4% 0.134 262.8)

  • #AE69B6

    #AE69B6

    oklch(62.4% 0.135 323.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #888F12

    #888F12

    oklch(62.4% 0.135 113.2)

  • #0093C8

    #0093C8

    oklch(62.4% 0.129 233)

  • #C4618E

    #C4618E

    oklch(62.4% 0.136 353.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #888F12

    #888F12

    oklch(62.4% 0.135 113.2)

  • #0099A4

    #0099A4

    oklch(62.3% 0.106 203.8)

  • #8B75D0

    #8B75D0

    oklch(62.2% 0.135 293.2)

  • #CC6260

    #CC6260

    oklch(62.4% 0.135 22.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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