#5A8518

Closest named color: Sap Green (#5C8B15). oklch(56.4% 0.141 129.7), rgb(90, 133, 24).

Aa

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

About this color

#5A8518 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.141 and its hue 130°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.019 away. Black text reads best on it, at 4.80:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.141)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text4.80:1
White text4.37:1

Values

HEX#5A8518
RGBrgb(90, 133, 24)
HSLhsl(84, 69%, 31%)
OKLCHoklch(56.4% 0.141 129.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 #5A8518 4.37:1 AA large text Lc -75.6 Fine for body text
Black text on #5A8518 4.80:1 AA Lc 34.0 Non-text elements, placeholder text
#5A8518 text on white 4.37:1 AA large text Lc 70.1 Content text, not long reading
#5A8518 text on black 4.80:1 AA Lc -31.6 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

    #B3C99E

    oklch(80.8% 0.063 129.8)

  5. Step 400

    400

    #8CAD68

    oklch(70.6% 0.101 129.5)

  6. Step 500

    500

    #70983D

    oklch(63% 0.128 129.4)

  7. Step 600

    600 (this color)

    #5A8518

    oklch(56.4% 0.141 129.7)

  8. Step 700

    700

    #486E01

    oklch(49.1% 0.131 129.5)

  9. Step 800

    800

    #3B5A0A

    oklch(42.7% 0.109 129.7)

  10. Step 900

    900

    #334A13

    oklch(37.7% 0.085 129.3)

  11. Step 950

    950

    #1E2B0D

    oklch(26.9% 0.053 129)

Export this scale for Tailwind in the Tailwind colors tool

#5A8518 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)#8C7B000.072
Deuteranopia (no green cones)#8678240.073
Tritanopia (no blue cones)#5D7F710.109
Achromatopsia (no color)#7979790.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A8518

    #5A8518

    oklch(56.4% 0.141 129.7)

  • #8F5BB3

    #8F5BB3

    oklch(56.5% 0.141 309.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A8518

    #5A8518

    oklch(56.4% 0.141 129.7)

  • #877600

    #877600

    oklch(56.4% 0.117 99.2)

  • #008C5A

    #008C5A

    oklch(56.5% 0.129 159.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A8518

    #5A8518

    oklch(56.4% 0.141 129.7)

  • #6769C6

    #6769C6

    oklch(56.4% 0.141 279.9)

  • #AA5090

    #AA5090

    oklch(56.5% 0.141 339.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A8518

    #5A8518

    oklch(56.4% 0.141 129.7)

  • #2279C4

    #2279C4

    oklch(56.4% 0.141 249.5)

  • #B84C63

    #B84C63

    oklch(56.4% 0.141 9.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A8518

    #5A8518

    oklch(56.4% 0.141 129.7)

  • #00839F

    #00839F

    oklch(56.4% 0.103 219.8)

  • #8F5BB3

    #8F5BB3

    oklch(56.5% 0.141 309.9)

  • #B8532E

    #B8532E

    oklch(56.4% 0.141 39.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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