#5A5F07

Closest named color: Camouflage Green (#4B6113). oklch(46.6% 0.101 113.3), rgb(90, 95, 7).

Aa

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

About this color

#5A5F07 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 47%, its chroma 0.101 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camouflage Green (#4B6113), ΔE 0.021 away. White text reads best on it, at 6.82:1.

Hue familyYellows
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameCamouflage Green (#4B6113)
Black text3.07:1
White text6.82:1

Values

HEX#5A5F07
RGBrgb(90, 95, 7)
HSLhsl(63, 86%, 20%)
OKLCHoklch(46.6% 0.101 113.3)

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 #5A5F07 6.82:1 AA Lc -88.5 Fine for body text
Black text on #5A5F07 3.07:1 AA large text Lc 20.6 Dividers and decoration only
#5A5F07 text on white 6.82:1 AA Lc 83.5 Fine for body text
#5A5F07 text on black 3.07:1 AA large text Lc -18.5 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

    #E9EBE0

    oklch(93.6% 0.015 115)

  3. Step 200

    200

    #D9DBC7

    oklch(88.4% 0.027 111.6)

  4. Step 300

    300

    #C0C5A1

    oklch(81% 0.049 113.9)

  5. Step 400

    400

    #A0A66D

    oklch(70.6% 0.078 113.3)

  6. Step 500

    500

    #899044

    oklch(63.1% 0.1 113.6)

  7. Step 600

    600

    #747A22

    oklch(55.7% 0.109 113.3)

  8. Step 700

    700 (this color)

    #5A5F07

    oklch(46.6% 0.101 113.3)

  9. Step 800

    800

    #4F5414

    oklch(42.8% 0.085 113.8)

  10. Step 900

    900

    #424519

    oklch(37.7% 0.064 112.7)

  11. Step 950

    950

    #262910

    oklch(27.1% 0.041 114.9)

Export this scale for Tailwind in the Tailwind colors tool

#5A5F07 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)#675A000.024
Deuteranopia (no green cones)#675B110.026
Tritanopia (no blue cones)#6159500.089
Achromatopsia (no color)#5B5B5B0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A5F07

    #5A5F07

    oklch(46.6% 0.101 113.3)

  • #5D4D8C

    #5D4D8C

    oklch(46.5% 0.101 293.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A5F07

    #5A5F07

    oklch(46.6% 0.101 113.3)

  • #735400

    #735400

    oklch(46.6% 0.096 83.8)

  • #336832

    #336832

    oklch(46.7% 0.101 143.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A5F07

    #5A5F07

    oklch(46.6% 0.101 113.3)

  • #3B5892

    #3B5892

    oklch(46.6% 0.101 263)

  • #74447A

    #74447A

    oklch(46.5% 0.102 323)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A5F07

    #5A5F07

    oklch(46.6% 0.101 113.3)

  • #006287

    #006287

    oklch(46.7% 0.097 233.1)

  • #843F5E

    #843F5E

    oklch(46.6% 0.102 353.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A5F07

    #5A5F07

    oklch(46.6% 0.101 113.3)

  • #00666D

    #00666D

    oklch(46.5% 0.079 203.1)

  • #5D4D8C

    #5D4D8C

    oklch(46.5% 0.101 293.8)

  • #89403E

    #89403E

    oklch(46.5% 0.1 23.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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