#877C0F

Closest named color: Olive (#808000). oklch(57.8% 0.117 103), rgb(135, 124, 15).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.117)
Temperaturewarm
Nearest nameOlive (#808000)
Black text4.92:1
White text4.26:1

Values

HEX#877C0F
RGBrgb(135, 124, 15)
HSLhsl(54, 80%, 29%)
OKLCHoklch(57.8% 0.117 103)

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 #877C0F 4.26:1 AA large text Lc -74.8 Content text, not long reading
Black text on #877C0F 4.92:1 AA Lc 34.7 Non-text elements, placeholder text
#877C0F text on white 4.26:1 AA large text Lc 69.4 Content text, not long reading
#877C0F text on black 4.92:1 AA Lc -32.3 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

    #EBEADF

    oklch(93.5% 0.015 102.5)

  3. Step 200

    200

    #DCDAC4

    oklch(88.4% 0.03 102.7)

  4. Step 300

    300

    #C6C39B

    oklch(80.9% 0.054 104)

  5. Step 400

    400

    #AAA364

    oklch(70.7% 0.084 102.8)

  6. Step 500

    500

    #968C35

    oklch(63.2% 0.108 102.8)

  7. Step 600

    600 (this color)

    #877C0F

    oklch(57.8% 0.117 103)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #585000

    oklch(42.6% 0.089 102.9)

  10. Step 900

    900

    #49430E

    oklch(37.8% 0.071 102.7)

  11. Step 950

    950

    #2A270B

    oklch(26.9% 0.044 103.2)

Export this scale for Tailwind in the Tailwind colors tool

#877C0F 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)#8878000.011
Deuteranopia (no green cones)#8C7D1A0.011
Tritanopia (no blue cones)#9272690.108
Achromatopsia (no color)#7A7A7A0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #877C0F

    #877C0F

    oklch(57.8% 0.117 103)

  • #716FBD

    #716FBD

    oklch(57.8% 0.118 283.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #877C0F

    #877C0F

    oklch(57.8% 0.117 103)

  • #A36D13

    #A36D13

    oklch(57.8% 0.117 73)

  • #5E883B

    #5E883B

    oklch(57.8% 0.117 132.8)

Open the analogous palette in the generator

Split complementary

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

  • #877C0F

    #877C0F

    oklch(57.8% 0.117 103)

  • #437CBD

    #437CBD

    oklch(57.8% 0.117 253.2)

  • #9264AB

    #9264AB

    oklch(57.9% 0.117 312.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #877C0F

    #877C0F

    oklch(57.8% 0.117 103)

  • #0087A8

    #0087A8

    oklch(57.9% 0.108 223)

  • #A95C8C

    #A95C8C

    oklch(58% 0.117 343.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #877C0F

    #877C0F

    oklch(57.8% 0.117 103)

  • #008C8A

    #008C8A

    oklch(57.9% 0.099 193)

  • #716FBD

    #716FBD

    oklch(57.8% 0.118 283.2)

  • #B45A66

    #B45A66

    oklch(57.9% 0.117 13.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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