#5F6B22

Closest named color: Dark Olive Green (#556B2F). oklch(50.2% 0.098 118), rgb(95, 107, 34).

Aa

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

About this color

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

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

Values

HEX#5F6B22
RGBrgb(95, 107, 34)
HSLhsl(70, 52%, 28%)
OKLCHoklch(50.2% 0.098 118)

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 #5F6B22 5.81:1 AA Lc -84.2 Fine for body text
Black text on #5F6B22 3.61:1 AA large text Lc 25.1 Dividers and decoration only
#5F6B22 text on white 5.81:1 AA Lc 79.0 Fine for body text
#5F6B22 text on black 3.61:1 AA large text Lc -22.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

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D7DCC9

    oklch(88.5% 0.026 118.9)

  4. Step 300

    300

    #BDC5A3

    oklch(80.8% 0.047 118.2)

  5. Step 400

    400

    #9CA771

    oklch(70.6% 0.075 117.7)

  6. Step 500

    500

    #84914B

    oklch(63% 0.096 117.9)

  7. Step 600

    600

    #6E7B2C

    oklch(55.5% 0.104 117.9)

  8. Step 700

    700 (this color)

    #5F6B22

    oklch(50.2% 0.098 118)

  9. Step 800

    800

    #4B551B

    oklch(42.8% 0.082 118.3)

  10. Step 900

    900

    #3F461D

    oklch(37.7% 0.062 117.5)

  11. Step 950

    950

    #252912

    oklch(27% 0.039 117.2)

Export this scale for Tailwind in the Tailwind colors tool

#5F6B22 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)#7265180.032
Deuteranopia (no green cones)#7166270.033
Tritanopia (no blue cones)#65655C0.084
Achromatopsia (no color)#6565650.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F6B22

    #5F6B22

    oklch(50.2% 0.098 118)

  • #6B5794

    #6B5794

    oklch(50.3% 0.097 297.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F6B22

    #5F6B22

    oklch(50.2% 0.098 118)

  • #7B600E

    #7B600E

    oklch(50.3% 0.098 88.2)

  • #387343

    #387343

    oklch(50.3% 0.098 148.1)

Open the analogous palette in the generator

Split complementary

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

  • #5F6B22

    #5F6B22

    oklch(50.2% 0.098 118)

  • #4C619C

    #4C619C

    oklch(50.3% 0.098 268)

  • #814E80

    #814E80

    oklch(50.1% 0.098 327.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F6B22

    #5F6B22

    oklch(50.2% 0.098 118)

  • #1F6B95

    #1F6B95

    oklch(50.3% 0.098 238)

  • #8F4A63

    #8F4A63

    oklch(50.1% 0.097 358.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F6B22

    #5F6B22

    oklch(50.2% 0.098 118)

  • #00717D

    #00717D

    oklch(50.2% 0.086 207.6)

  • #6B5794

    #6B5794

    oklch(50.3% 0.097 297.9)

  • #934C44

    #934C44

    oklch(50.1% 0.097 27.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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