#5B8917

Closest named color: Sap Green (#5C8B15). oklch(57.5% 0.146 130.2), rgb(91, 137, 23).

Aa

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

About this color

#5B8917 is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.146 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.006 away. Black text reads best on it, at 5.03:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromavivid (0.146)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text5.03:1
White text4.17:1

Values

HEX#5B8917
RGBrgb(91, 137, 23)
HSLhsl(84, 71%, 31%)
OKLCHoklch(57.5% 0.146 130.2)

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 #5B8917 4.17:1 AA large text Lc -74.0 Content text, not long reading
Black text on #5B8917 5.03:1 AA Lc 35.6 Non-text elements, placeholder text
#5B8917 text on white 4.17:1 AA large text Lc 68.5 Content text, not long reading
#5B8917 text on black 5.03:1 AA Lc -33.1 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E6EDE0

    oklch(93.7% 0.019 130.2)

  3. Step 200

    200

    #D1DEC5

    oklch(88.4% 0.036 129.7)

  4. Step 300

    300

    #B3CA9D

    oklch(81% 0.066 129.8)

  5. Step 400

    400

    #8BAE67

    oklch(70.8% 0.104 130.1)

  6. Step 500

    500

    #6E993A

    oklch(63.1% 0.134 130.1)

  7. Step 600

    600 (this color)

    #5B8917

    oklch(57.5% 0.146 130.2)

  8. Step 700

    700

    #466E00

    oklch(48.9% 0.132 130.2)

  9. Step 800

    800

    #395A05

    oklch(42.6% 0.112 130.3)

  10. Step 900

    900

    #314A11

    oklch(37.6% 0.087 130.3)

  11. Step 950

    950

    #1D2C0C

    oklch(27.1% 0.056 130.5)

Export this scale for Tailwind in the Tailwind colors tool

#5B8917 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)#907E000.077
Deuteranopia (no green cones)#897B240.076
Tritanopia (no blue cones)#5D83740.112
Achromatopsia (no color)#7C7C7C0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B8917

    #5B8917

    oklch(57.5% 0.146 130.2)

  • #935DB8

    #935DB8

    oklch(57.5% 0.145 310)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B8917

    #5B8917

    oklch(57.5% 0.146 130.2)

  • #8A7A00

    #8A7A00

    oklch(57.6% 0.12 100.1)

  • #00905E

    #00905E

    oklch(57.7% 0.13 160.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B8917

    #5B8917

    oklch(57.5% 0.146 130.2)

  • #6A6CCC

    #6A6CCC

    oklch(57.6% 0.145 279.9)

  • #AF5193

    #AF5193

    oklch(57.4% 0.146 340.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B8917

    #5B8917

    oklch(57.5% 0.146 130.2)

  • #237CCB

    #237CCB

    oklch(57.6% 0.146 250.2)

  • #BE4D65

    #BE4D65

    oklch(57.5% 0.146 9.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B8917

    #5B8917

    oklch(57.5% 0.146 130.2)

  • #0087A4

    #0087A4

    oklch(57.7% 0.105 220)

  • #935DB8

    #935DB8

    oklch(57.5% 0.145 310)

  • #BE552D

    #BE552D

    oklch(57.6% 0.146 40.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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