#867F04

Closest named color: Olive (#808000). oklch(58.4% 0.123 105.7), rgb(134, 127, 4).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameOlive (#808000)
Black text5.05:1
White text4.15:1

Values

HEX#867F04
RGBrgb(134, 127, 4)
HSLhsl(57, 94%, 27%)
OKLCHoklch(58.4% 0.123 105.7)

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 #867F04 4.15:1 AA large text Lc -74.0 Content text, not long reading
Black text on #867F04 5.05:1 AA Lc 35.6 Non-text elements, placeholder text
#867F04 text on white 4.15:1 AA large text Lc 68.5 Content text, not long reading
#867F04 text on black 5.05:1 AA Lc -33.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 600.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DBDBC4

    oklch(88.5% 0.031 107)

  4. Step 300

    300

    #C5C39A

    oklch(80.8% 0.055 105.2)

  5. Step 400

    400

    #A8A461

    oklch(70.7% 0.089 105.5)

  6. Step 500

    500

    #938D30

    oklch(63.1% 0.113 105.6)

  7. Step 600

    600 (this color)

    #867F04

    oklch(58.4% 0.123 105.7)

  8. Step 700

    700

    #696400

    oklch(49.2% 0.105 106.3)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #47440A

    oklch(37.8% 0.075 106.4)

  11. Step 950

    950

    #2A2809

    oklch(27.1% 0.047 105.6)

Export this scale for Tailwind in the Tailwind colors tool

#867F04 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)#8B7A000.015
Deuteranopia (no green cones)#8E7E150.016
Tritanopia (no blue cones)#91756B0.113
Achromatopsia (no color)#7C7C7C0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #867F04

    #867F04

    oklch(58.4% 0.123 105.7)

  • #766FC1

    #766FC1

    oklch(58.5% 0.123 285.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #867F04

    #867F04

    oklch(58.4% 0.123 105.7)

  • #A56F00

    #A56F00

    oklch(58.4% 0.123 75.3)

  • #598C3D

    #598C3D

    oklch(58.6% 0.124 135.8)

Open the analogous palette in the generator

Split complementary

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

  • #867F04

    #867F04

    oklch(58.4% 0.123 105.7)

  • #467DC3

    #467DC3

    oklch(58.5% 0.123 255.3)

  • #9763AD

    #9763AD

    oklch(58.4% 0.123 315.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #867F04

    #867F04

    oklch(58.4% 0.123 105.7)

  • #0088AD

    #0088AD

    oklch(58.3% 0.111 225.6)

  • #AE5B8B

    #AE5B8B

    oklch(58.4% 0.123 345.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #867F04

    #867F04

    oklch(58.4% 0.123 105.7)

  • #008D8E

    #008D8E

    oklch(58.3% 0.099 195.7)

  • #766FC1

    #766FC1

    oklch(58.5% 0.123 285.8)

  • #B95963

    #B95963

    oklch(58.4% 0.124 15.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #867F04 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.