#5E6C1F

Closest named color: Dark Olive Green (#556B2F). oklch(50.3% 0.102 119.1), rgb(94, 108, 31).

Aa

White text reads best on this color (5.76:1).

About this color

#5E6C1F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 50%, its chroma 0.102 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.019 away. White text reads best on it, at 5.76:1.

Hue familyYellows
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.64:1
White text5.76:1

Values

HEX#5E6C1F
RGBrgb(94, 108, 31)
HSLhsl(71, 55%, 27%)
OKLCHoklch(50.3% 0.102 119.1)

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 #5E6C1F 5.76:1 AA Lc -84.0 Fine for body text
Black text on #5E6C1F 3.64:1 AA large text Lc 25.3 Dividers and decoration only
#5E6C1F text on white 5.76:1 AA Lc 78.8 Fine for body text
#5E6C1F text on black 3.64:1 AA large text Lc -23.0 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D7DCC8

    oklch(88.5% 0.027 118.4)

  4. Step 300

    300

    #BDC6A2

    oklch(81% 0.05 118.9)

  5. Step 400

    400

    #9BA86F

    oklch(70.7% 0.079 118.9)

  6. Step 500

    500

    #839248

    oklch(63.1% 0.101 118.8)

  7. Step 600

    600

    #6C7C28

    oklch(55.6% 0.11 119.4)

  8. Step 700

    700 (this color)

    #5E6C1F

    oklch(50.3% 0.102 119.1)

  9. Step 800

    800

    #4A5519

    oklch(42.7% 0.084 119)

  10. Step 900

    900

    #3E461B

    oklch(37.6% 0.065 118.4)

  11. Step 950

    950

    #242911

    oklch(26.9% 0.041 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#5E6C1F 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)#7366140.034
Deuteranopia (no green cones)#7266250.037
Tritanopia (no blue cones)#64665D0.088
Achromatopsia (no color)#6666660.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E6C1F

    #5E6C1F

    oklch(50.3% 0.102 119.1)

  • #6D5696

    #6D5696

    oklch(50.4% 0.102 299.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E6C1F

    #5E6C1F

    oklch(50.3% 0.102 119.1)

  • #7B6003

    #7B6003

    oklch(50.2% 0.102 89.2)

  • #347443

    #347443

    oklch(50.4% 0.102 149.2)

Open the analogous palette in the generator

Split complementary

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

  • #5E6C1F

    #5E6C1F

    oklch(50.3% 0.102 119.1)

  • #4D609E

    #4D609E

    oklch(50.3% 0.102 269.6)

  • #844D80

    #844D80

    oklch(50.3% 0.102 329.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E6C1F

    #5E6C1F

    oklch(50.3% 0.102 119.1)

  • #1C6B98

    #1C6B98

    oklch(50.3% 0.102 239.3)

  • #924963

    #924963

    oklch(50.3% 0.102 358.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E6C1F

    #5E6C1F

    oklch(50.3% 0.102 119.1)

  • #00717F

    #00717F

    oklch(50.3% 0.087 209.7)

  • #6D5696

    #6D5696

    oklch(50.4% 0.102 299.3)

  • #964B41

    #964B41

    oklch(50.3% 0.103 29)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5E6C1F 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.