#5E6D21

Closest named color: Dark Olive Green (#556B2F). oklch(50.6% 0.101 119.8), rgb(94, 109, 33).

Aa

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

About this color

#5E6D21 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 51%, its chroma 0.101 and its hue 120°. 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.69:1.

Hue familyYellows
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.68:1
White text5.69:1

Values

HEX#5E6D21
RGBrgb(94, 109, 33)
HSLhsl(72, 54%, 28%)
OKLCHoklch(50.6% 0.101 119.8)

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 #5E6D21 5.69:1 AA Lc -83.7 Fine for body text
Black text on #5E6D21 3.68:1 AA large text Lc 25.7 Dividers and decoration only
#5E6D21 text on white 5.69:1 AA Lc 78.4 Fine for body text
#5E6D21 text on black 3.68:1 AA large text Lc -23.4 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

    #D6DCC8

    oklch(88.4% 0.028 120.6)

  4. Step 300

    300

    #BCC6A3

    oklch(80.9% 0.049 120.5)

  5. Step 400

    400

    #9AA870

    oklch(70.7% 0.078 119.9)

  6. Step 500

    500

    #829249

    oklch(63% 0.1 119.6)

  7. Step 600

    600

    #6C7C29

    oklch(55.6% 0.109 119.4)

  8. Step 700

    700 (this color)

    #5E6D21

    oklch(50.6% 0.101 119.8)

  9. Step 800

    800

    #49551A

    oklch(42.6% 0.083 119.9)

  10. Step 900

    900

    #3D471C

    oklch(37.8% 0.066 120.5)

  11. Step 950

    950

    #242911

    oklch(26.9% 0.041 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#5E6D21 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)#7467160.035
Deuteranopia (no green cones)#7267270.037
Tritanopia (no blue cones)#63675E0.087
Achromatopsia (no color)#6767670.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E6D21

    #5E6D21

    oklch(50.6% 0.101 119.8)

  • #6E5696

    #6E5696

    oklch(50.5% 0.102 300.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E6D21

    #5E6D21

    oklch(50.6% 0.101 119.8)

  • #7C6106

    #7C6106

    oklch(50.6% 0.101 89.1)

  • #347544

    #347544

    oklch(50.6% 0.102 149.5)

Open the analogous palette in the generator

Split complementary

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

  • #5E6D21

    #5E6D21

    oklch(50.6% 0.101 119.8)

  • #4E619F

    #4E619F

    oklch(50.6% 0.102 269.6)

  • #854E81

    #854E81

    oklch(50.6% 0.102 329.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E6D21

    #5E6D21

    oklch(50.6% 0.101 119.8)

  • #1F6C99

    #1F6C99

    oklch(50.7% 0.102 239.6)

  • #934A63

    #934A63

    oklch(50.6% 0.102 359.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E6D21

    #5E6D21

    oklch(50.6% 0.101 119.8)

  • #007280

    #007280

    oklch(50.6% 0.087 209.6)

  • #6E5696

    #6E5696

    oklch(50.5% 0.102 300.1)

  • #964C41

    #964C41

    oklch(50.5% 0.102 29.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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