#5F6E27

Closest named color: Dark Olive Green (#556B2F). oklch(51% 0.097 120.1), rgb(95, 110, 39).

Aa

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

About this color

#5F6E27 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 51%, its chroma 0.097 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.60:1.

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

Values

HEX#5F6E27
RGBrgb(95, 110, 39)
HSLhsl(73, 48%, 29%)
OKLCHoklch(51% 0.097 120.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 #5F6E27 5.60:1 AA Lc -83.2 Fine for body text
Black text on #5F6E27 3.74:1 AA large text Lc 26.1 Dividers and decoration only
#5F6E27 text on white 5.60:1 AA Lc 77.9 Fine for body text
#5F6E27 text on black 3.74:1 AA large text Lc -23.8 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

    #D6DCC9

    oklch(88.5% 0.026 121.2)

  4. Step 300

    300

    #BCC6A4

    oklch(81% 0.048 120.8)

  5. Step 400

    400

    #9AA872

    oklch(70.7% 0.076 120.2)

  6. Step 500

    500

    #82924D

    oklch(63.1% 0.096 119.9)

  7. Step 600

    600

    #6B7C2E

    oklch(55.6% 0.105 120.3)

  8. Step 700

    700 (this color)

    #5F6E27

    oklch(51% 0.097 120.1)

  9. Step 800

    800

    #49551D

    oklch(42.6% 0.081 120.2)

  10. Step 900

    900

    #3D461E

    oklch(37.6% 0.062 120)

  11. Step 950

    950

    #242912

    oklch(26.9% 0.039 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#5F6E27 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)#75681F0.036
Deuteranopia (no green cones)#73682C0.037
Tritanopia (no blue cones)#64685F0.083
Achromatopsia (no color)#6868680.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F6E27

    #5F6E27

    oklch(51% 0.097 120.1)

  • #6F5895

    #6F5895

    oklch(50.9% 0.097 300.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F6E27

    #5F6E27

    oklch(51% 0.097 120.1)

  • #7C6313

    #7C6313

    oklch(51.1% 0.097 89.9)

  • #387647

    #387647

    oklch(51.2% 0.098 149.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F6E27

    #5F6E27

    oklch(51% 0.097 120.1)

  • #51629E

    #51629E

    oklch(51% 0.098 270.7)

  • #855080

    #855080

    oklch(50.9% 0.097 330.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F6E27

    #5F6E27

    oklch(51% 0.097 120.1)

  • #266D98

    #266D98

    oklch(51.1% 0.097 239.6)

  • #924D64

    #924D64

    oklch(51% 0.096 359.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F6E27

    #5F6E27

    oklch(51% 0.097 120.1)

  • #007382

    #007382

    oklch(50.9% 0.088 210.5)

  • #6F5895

    #6F5895

    oklch(50.9% 0.097 300.4)

  • #964F44

    #964F44

    oklch(51.1% 0.097 30)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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