#5A7E08

Closest named color: Olive Green (#677A04). oklch(54.6% 0.138 127.2), rgb(90, 126, 8).

Aa

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

About this color

#5A7E08 is a medium-dark, moderately saturated green. In OKLCH its lightness is 55%, its chroma 0.138 and its hue 127°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Green (#677A04), ΔE 0.019 away. White text reads best on it, at 4.74:1.

Hue familyGreens
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameOlive Green (#677A04)
Black text4.42:1
White text4.74:1

Values

HEX#5A7E08
RGBrgb(90, 126, 8)
HSLhsl(78, 88%, 26%)
OKLCHoklch(54.6% 0.138 127.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 #5A7E08 4.74:1 AA Lc -78.2 Fine for body text
Black text on #5A7E08 4.42:1 AA large text Lc 31.3 Non-text elements, placeholder text
#5A7E08 text on white 4.74:1 AA Lc 72.8 Content text, not long reading
#5A7E08 text on black 4.42:1 AA large text Lc -28.9 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 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

    #D3DEC6

    oklch(88.6% 0.034 127.3)

  4. Step 300

    300

    #B6C99E

    oklch(81% 0.062 127.1)

  5. Step 400

    400

    #90AC67

    oklch(70.7% 0.099 126.8)

  6. Step 500

    500

    #74973B

    oklch(63% 0.127 127.3)

  7. Step 600

    600 (this color)

    #5A7E08

    oklch(54.6% 0.138 127.2)

  8. Step 700

    700

    #4D6D00

    oklch(49.1% 0.127 127.1)

  9. Step 800

    800

    #3F5907

    oklch(42.7% 0.106 127.1)

  10. Step 900

    900

    #354912

    oklch(37.6% 0.083 127.3)

  11. Step 950

    950

    #1F2B0D

    oklch(27% 0.052 127.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A7E08 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)#8574000.067
Deuteranopia (no green cones)#80721A0.066
Tritanopia (no blue cones)#5E786A0.109
Achromatopsia (no color)#7373730.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7E08

    #5A7E08

    oklch(54.6% 0.138 127.2)

  • #8657AE

    #8657AE

    oklch(54.6% 0.138 307.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7E08

    #5A7E08

    oklch(54.6% 0.138 127.2)

  • #837000

    #837000

    oklch(54.7% 0.113 97.3)

  • #008651

    #008651

    oklch(54.6% 0.129 157.3)

Open the analogous palette in the generator

Split complementary

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

  • #5A7E08

    #5A7E08

    oklch(54.6% 0.138 127.2)

  • #5E65BF

    #5E65BF

    oklch(54.5% 0.139 277.4)

  • #A14C8D

    #A14C8D

    oklch(54.5% 0.138 337.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7E08

    #5A7E08

    oklch(54.6% 0.138 127.2)

  • #1175BC

    #1175BC

    oklch(54.7% 0.138 247.1)

  • #B04862

    #B04862

    oklch(54.6% 0.137 7.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7E08

    #5A7E08

    oklch(54.6% 0.138 127.2)

  • #007E95

    #007E95

    oklch(54.7% 0.097 216.5)

  • #8657AE

    #8657AE

    oklch(54.6% 0.138 307.4)

  • #B14D2F

    #B14D2F

    oklch(54.4% 0.138 37.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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