#877E22

Closest named color: Olive (#808000). oklch(58.4% 0.11 103.6), rgb(135, 126, 34).

Aa

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

About this color

#877E22 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.110 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Olive (#808000), ΔE 0.021 away. Black text reads best on it, at 5.03:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.110)
Temperaturewarm
Nearest nameOlive (#808000)
Black text5.03:1
White text4.16:1

Values

HEX#877E22
RGBrgb(135, 126, 34)
HSLhsl(55, 60%, 33%)
OKLCHoklch(58.4% 0.11 103.6)

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 #877E22 4.16:1 AA large text Lc -74.1 Content text, not long reading
Black text on #877E22 5.03:1 AA Lc 35.5 Non-text elements, placeholder text
#877E22 text on white 4.16:1 AA large text Lc 68.6 Content text, not long reading
#877E22 text on black 5.03:1 AA Lc -33.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 600.

  1. Step 50

    50

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC6

    oklch(88.5% 0.027 102.3)

  4. Step 300

    300

    #C6C39E

    oklch(81% 0.05 103.6)

  5. Step 400

    400

    #A9A368

    oklch(70.7% 0.079 103.2)

  6. Step 500

    500

    #948C3D

    oklch(63.1% 0.101 103.5)

  7. Step 600

    600 (this color)

    #877E22

    oklch(58.4% 0.11 103.6)

  8. Step 700

    700

    #6B6304

    oklch(49.2% 0.102 103.9)

  9. Step 800

    800

    #57510B

    oklch(42.8% 0.085 104.2)

  10. Step 900

    900

    #484314

    oklch(37.7% 0.066 103.2)

  11. Step 950

    950

    #2A270D

    oklch(26.9% 0.042 102.8)

Export this scale for Tailwind in the Tailwind colors tool

#877E22 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)#8A7A120.012
Deuteranopia (no green cones)#8D7E280.011
Tritanopia (no blue cones)#92756C0.100
Achromatopsia (no color)#7C7C7C0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #877E22

    #877E22

    oklch(58.4% 0.11 103.6)

  • #7472BA

    #7472BA

    oklch(58.5% 0.109 283.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877E22

    #877E22

    oklch(58.4% 0.11 103.6)

  • #A27023

    #A27023

    oklch(58.4% 0.11 73.5)

  • #608943

    #608943

    oklch(58.3% 0.109 133.7)

Open the analogous palette in the generator

Split complementary

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

  • #877E22

    #877E22

    oklch(58.4% 0.11 103.6)

  • #4A7EBB

    #4A7EBB

    oklch(58.4% 0.11 253.5)

  • #9367A9

    #9367A9

    oklch(58.5% 0.109 313.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877E22

    #877E22

    oklch(58.4% 0.11 103.6)

  • #0089AB

    #0089AB

    oklch(58.5% 0.109 223.3)

  • #A85F8C

    #A85F8C

    oklch(58.3% 0.111 343.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877E22

    #877E22

    oklch(58.4% 0.11 103.6)

  • #008E8C

    #008E8C

    oklch(58.5% 0.1 193)

  • #7472BA

    #7472BA

    oklch(58.5% 0.109 283.8)

  • #B35E68

    #B35E68

    oklch(58.4% 0.11 13.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #877E22 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.