#5F6F17

Closest named color: Browny Green (#6F6C0A). oklch(51.1% 0.111 119.7), rgb(95, 111, 23).

Aa

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

About this color

#5F6F17 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 51%, its chroma 0.111 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Browny Green (#6F6C0A), ΔE 0.024 away. White text reads best on it, at 5.56:1.

Hue familyYellows
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameBrowny Green (#6F6C0A)
Black text3.77:1
White text5.56:1

Values

HEX#5F6F17
RGBrgb(95, 111, 23)
HSLhsl(71, 66%, 26%)
OKLCHoklch(51.1% 0.111 119.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 #5F6F17 5.56:1 AA Lc -83.0 Fine for body text
Black text on #5F6F17 3.77:1 AA large text Lc 26.4 Dividers and decoration only
#5F6F17 text on white 5.56:1 AA Lc 77.7 Fine for body text
#5F6F17 text on black 3.77:1 AA large text Lc -24.1 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

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D6DCC7

    oklch(88.4% 0.029 120)

  4. Step 300

    300

    #BCC6A0

    oklch(80.9% 0.053 119.6)

  5. Step 400

    400

    #9AA96B

    oklch(70.8% 0.086 119.7)

  6. Step 500

    500

    #819341

    oklch(63.1% 0.11 120)

  7. Step 600

    600

    #6B7D1D

    oklch(55.7% 0.119 119.9)

  8. Step 700

    700 (this color)

    #5F6F17

    oklch(51.1% 0.111 119.7)

  9. Step 800

    800

    #495611

    oklch(42.8% 0.092 119.9)

  10. Step 900

    900

    #3D4717

    oklch(37.7% 0.071 119.9)

  11. Step 950

    950

    #242A0F

    oklch(27.2% 0.045 119.9)

Export this scale for Tailwind in the Tailwind colors tool

#5F6F17 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)#7768030.039
Deuteranopia (no green cones)#75681F0.041
Tritanopia (no blue cones)#65695E0.093
Achromatopsia (no color)#6868680.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F6F17

    #5F6F17

    oklch(51.1% 0.111 119.7)

  • #70569C

    #70569C

    oklch(51.1% 0.111 299.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F6F17

    #5F6F17

    oklch(51.1% 0.111 119.7)

  • #7E6300

    #7E6300

    oklch(51.2% 0.105 90)

  • #2F7842

    #2F7842

    oklch(51.2% 0.111 149.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F6F17

    #5F6F17

    oklch(51.1% 0.111 119.7)

  • #4E62A6

    #4E62A6

    oklch(51.2% 0.111 269.8)

  • #894D85

    #894D85

    oklch(51.1% 0.111 329.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F6F17

    #5F6F17

    oklch(51.1% 0.111 119.7)

  • #126D9F

    #126D9F

    oklch(51% 0.111 240.2)

  • #984864

    #984864

    oklch(51.1% 0.111 359.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F6F17

    #5F6F17

    oklch(51.1% 0.111 119.7)

  • #007482

    #007482

    oklch(51.2% 0.088 209.4)

  • #70569C

    #70569C

    oklch(51.1% 0.111 299.6)

  • #9C4B3F

    #9C4B3F

    oklch(51.2% 0.111 30)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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