#878200

Closest named color: Olive (#808000). oklch(59.2% 0.127 107), rgb(135, 130, 0).

Aa

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

About this color

#878200 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.127 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Olive (#808000), ΔE 0.013 away. Black text reads best on it, at 5.22:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.127)
Temperaturewarm
Nearest nameOlive (#808000)
Black text5.22:1
White text4.02:1

Values

HEX#878200
RGBrgb(135, 130, 0)
HSLhsl(58, 100%, 26%)
OKLCHoklch(59.2% 0.127 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 #878200 4.02:1 AA large text Lc -72.8 Content text, not long reading
Black text on #878200 5.22:1 AA Lc 36.8 Non-text elements, placeholder text
#878200 text on white 4.02:1 AA large text Lc 67.3 Content text, not long reading
#878200 text on black 5.22:1 AA Lc -34.4 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 600.

  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

    #928E2D

    oklch(63.2% 0.117 107)

  7. Step 600

    600 (this color)

    #878200

    oklch(59.2% 0.127 107)

  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

    #464407

    oklch(37.7% 0.077 107.6)

  11. Step 950

    950

    #292808

    oklch(27% 0.049 107.5)

Export this scale for Tailwind in the Tailwind colors tool

#878200 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)#8E7C000.019
Deuteranopia (no green cones)#9181130.018
Tritanopia (no blue cones)#92786E0.116
Achromatopsia (no color)#7F7F7F0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #878200

    #878200

    oklch(59.2% 0.127 107)

  • #7A70C5

    #7A70C5

    oklch(59.2% 0.127 287.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #878200

    #878200

    oklch(59.2% 0.127 107)

  • #A67200

    #A67200

    oklch(59.1% 0.124 77.1)

  • #578F3F

    #578F3F

    oklch(59.2% 0.127 137.2)

Open the analogous palette in the generator

Split complementary

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

  • #878200

    #878200

    oklch(59.2% 0.127 107)

  • #497EC8

    #497EC8

    oklch(59.1% 0.127 257)

  • #9C64AF

    #9C64AF

    oklch(59.2% 0.126 317.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #878200

    #878200

    oklch(59.2% 0.127 107)

  • #008AB2

    #008AB2

    oklch(59.1% 0.114 227.2)

  • #B35C8C

    #B35C8C

    oklch(59.3% 0.126 347.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #878200

    #878200

    oklch(59.2% 0.127 107)

  • #009092

    #009092

    oklch(59.2% 0.101 196.5)

  • #7A70C5

    #7A70C5

    oklch(59.2% 0.127 287.2)

  • #BD5B62

    #BD5B62

    oklch(59.2% 0.126 17.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #878200.

Similar named colors

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

Use #878200 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.