#5FB040

Closest named color: Grass (#5CAC2D). oklch(68.2% 0.168 138.2), rgb(95, 176, 64).

Aa

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

About this color

#5FB040 is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.168 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grass (#5CAC2D), ΔE 0.017 away. Black text reads best on it, at 7.77:1.

Hue familyGreens
Lightnessmedium-light (68%)
Chromavivid (0.168)
Temperaturein between
Nearest nameGrass (#5CAC2D)
Black text7.77:1
White text2.70:1

Values

HEX#5FB040
RGBrgb(95, 176, 64)
HSLhsl(103, 47%, 47%)
OKLCHoklch(68.2% 0.168 138.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 #5FB040 2.70:1 Fails Lc -57.4 Large or bold text, headings
Black text on #5FB040 7.77:1 AAA Lc 51.9 Large or bold text, headings
#5FB040 text on white 2.70:1 Fails Lc 52.2 Large or bold text, headings
#5FB040 text on black 7.77:1 AAA Lc -49.7 Large or bold text, headings

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

  1. Step 50

    50

    #F1F8EF

    oklch(97.1% 0.014 138.7)

  2. Step 100

    100

    #E0EFDC

    oklch(93.6% 0.03 139.1)

  3. Step 200

    200

    #C7E3BE

    oklch(88.5% 0.058 138.1)

  4. Step 300

    300

    #9FD18E

    oklch(80.9% 0.105 137.9)

  5. Step 400

    400 (this color)

    #5FB040

    oklch(68.2% 0.168 138.2)

  6. Step 500

    500

    #41A300

    oklch(63.2% 0.196 138.1)

  7. Step 600

    600

    #358900

    oklch(55.6% 0.173 138.2)

  8. Step 700

    700

    #2C7300

    oklch(49.1% 0.152 138.1)

  9. Step 800

    800

    #225F00

    oklch(42.8% 0.133 138.3)

  10. Step 900

    900

    #1B4F00

    oklch(37.7% 0.117 138.3)

  11. Step 950

    950

    #0D2F00

    oklch(26.9% 0.084 138.2)

Export this scale for Tailwind in the Tailwind colors tool

#5FB040 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)#B5A2330.109
Deuteranopia (no green cones)#AA9B490.109
Tritanopia (no blue cones)#5AAA990.117
Achromatopsia (no color)#9D9D9D0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FB040

    #5FB040

    oklch(68.2% 0.168 138.2)

  • #C373DB

    #C373DB

    oklch(68.2% 0.168 318)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FB040

    #5FB040

    oklch(68.2% 0.168 138.2)

  • #A29F00

    #A29F00

    oklch(68.3% 0.148 108.4)

  • #00B389

    #00B389

    oklch(68.1% 0.137 168.5)

Open the analogous palette in the generator

Split complementary

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

  • #5FB040

    #5FB040

    oklch(68.2% 0.168 138.2)

  • #9684F9

    #9684F9

    oklch(68.2% 0.168 288.2)

  • #E168AB

    #E168AB

    oklch(68.3% 0.168 348.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FB040

    #5FB040

    oklch(68.2% 0.168 138.2)

  • #5298FE

    #5298FE

    oklch(68.3% 0.167 257.9)

  • #EE6670

    #EE6670

    oklch(68.1% 0.168 18.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FB040

    #5FB040

    oklch(68.2% 0.168 138.2)

  • #00A7D9

    #00A7D9

    oklch(68.1% 0.133 228.4)

  • #C373DB

    #C373DB

    oklch(68.2% 0.168 318)

  • #E97228

    #E97228

    oklch(68.1% 0.168 47.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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