#5A8317

Closest named color: Sap Green (#5C8B15). oklch(55.9% 0.139 129.1), rgb(90, 131, 23).

Aa

Black text reads best on this color (4.69:1).

About this color

#5A8317 is a medium-dark, moderately saturated green. In OKLCH its lightness is 56%, its chroma 0.139 and its hue 129°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.024 away. Black text reads best on it, at 4.69:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text4.69:1
White text4.47:1

Values

HEX#5A8317
RGBrgb(90, 131, 23)
HSLhsl(83, 70%, 30%)
OKLCHoklch(55.9% 0.139 129.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 #5A8317 4.47:1 AA large text Lc -76.3 Fine for body text
Black text on #5A8317 4.69:1 AA Lc 33.2 Non-text elements, placeholder text
#5A8317 text on white 4.47:1 AA large text Lc 70.9 Content text, not long reading
#5A8317 text on black 4.69:1 AA Lc -30.8 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F4F7F1

    oklch(97.2% 0.009 128.6)

  2. Step 100

    100

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D2DEC6

    oklch(88.5% 0.035 128.9)

  4. Step 300

    300

    #B4C99E

    oklch(80.9% 0.063 128.9)

  5. Step 400

    400

    #8DAD69

    oklch(70.7% 0.1 129.2)

  6. Step 500

    500

    #71983D

    oklch(63.1% 0.128 129)

  7. Step 600

    600 (this color)

    #5A8317

    oklch(55.9% 0.139 129.1)

  8. Step 700

    700

    #496E03

    oklch(49.2% 0.129 129.2)

  9. Step 800

    800

    #3C5A0B

    oklch(42.8% 0.108 129.3)

  10. Step 900

    900

    #334A14

    oklch(37.7% 0.084 129.5)

  11. Step 950

    950

    #1E2B0D

    oklch(26.9% 0.053 129)

Export this scale for Tailwind in the Tailwind colors tool

#5A8317 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)#8A79000.070
Deuteranopia (no green cones)#8476230.071
Tritanopia (no blue cones)#5D7D6F0.108
Achromatopsia (no color)#7777770.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A8317

    #5A8317

    oklch(55.9% 0.139 129.1)

  • #8C5AB1

    #8C5AB1

    oklch(55.9% 0.139 309.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A8317

    #5A8317

    oklch(55.9% 0.139 129.1)

  • #857400

    #857400

    oklch(55.8% 0.116 99)

  • #008A58

    #008A58

    oklch(55.9% 0.128 159.2)

Open the analogous palette in the generator

Split complementary

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

  • #5A8317

    #5A8317

    oklch(55.9% 0.139 129.1)

  • #6568C3

    #6568C3

    oklch(55.9% 0.139 279.5)

  • #A74F8F

    #A74F8F

    oklch(55.9% 0.14 338.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A8317

    #5A8317

    oklch(55.9% 0.139 129.1)

  • #2178C1

    #2178C1

    oklch(56% 0.138 249)

  • #B64B63

    #B64B63

    oklch(55.9% 0.14 8.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A8317

    #5A8317

    oklch(55.9% 0.139 129.1)

  • #00829C

    #00829C

    oklch(56% 0.101 218.4)

  • #8C5AB1

    #8C5AB1

    oklch(55.9% 0.139 309.1)

  • #B6522F

    #B6522F

    oklch(55.9% 0.139 39.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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