#5FAF2F

Closest named color: Grass (#5CAC2D). oklch(67.8% 0.178 136.3), rgb(95, 175, 47).

Aa

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

About this color

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

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

Values

HEX#5FAF2F
RGBrgb(95, 175, 47)
HSLhsl(98, 58%, 44%)
OKLCHoklch(67.8% 0.178 136.3)

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 #5FAF2F 2.74:1 Fails Lc -58.0 Large or bold text, headings
Black text on #5FAF2F 7.65:1 AAA Lc 51.3 Large or bold text, headings
#5FAF2F text on white 2.74:1 Fails Lc 52.7 Large or bold text, headings
#5FAF2F text on black 7.65:1 AAA Lc -49.1 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

    #F1F8EE

    oklch(97.1% 0.015 136.1)

  2. Step 100

    100

    #E0EFDA

    oklch(93.5% 0.032 136.6)

  3. Step 200

    200

    #C7E3BB

    oklch(88.5% 0.061 136.3)

  4. Step 300

    300

    #9FD189

    oklch(80.8% 0.111 136.5)

  5. Step 400

    400 (this color)

    #5FAF2F

    oklch(67.8% 0.178 136.3)

  6. Step 500

    500

    #4CA100

    oklch(63% 0.189 136.3)

  7. Step 600

    600

    #3F8800

    oklch(55.7% 0.167 136.3)

  8. Step 700

    700

    #347200

    oklch(49.1% 0.147 136.3)

  9. Step 800

    800

    #295E00

    oklch(42.8% 0.128 136.5)

  10. Step 900

    900

    #214E00

    oklch(37.7% 0.113 136.4)

  11. Step 950

    950

    #112F00

    oklch(27.1% 0.081 136.5)

Export this scale for Tailwind in the Tailwind colors tool

#5FAF2F 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)#B5A0170.110
Deuteranopia (no green cones)#AA9A3C0.110
Tritanopia (no blue cones)#5BA9960.126
Achromatopsia (no color)#9C9C9C0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FAF2F

    #5FAF2F

    oklch(67.8% 0.178 136.3)

  • #C270E0

    #C270E0

    oklch(67.9% 0.178 316.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FAF2F

    #5FAF2F

    oklch(67.8% 0.178 136.3)

  • #A49C00

    #A49C00

    oklch(67.8% 0.145 106)

  • #00B284

    #00B284

    oklch(67.7% 0.14 166.4)

Open the analogous palette in the generator

Split complementary

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

  • #5FAF2F

    #5FAF2F

    oklch(67.8% 0.178 136.3)

  • #9182FF

    #9182FF

    oklch(67.8% 0.179 286.1)

  • #E262AE

    #E262AE

    oklch(67.7% 0.179 346.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FAF2F

    #5FAF2F

    oklch(67.8% 0.178 136.3)

  • #4897FF

    #4897FF

    oklch(67.7% 0.173 256.4)

  • #F16071

    #F16071

    oklch(67.8% 0.178 16.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FAF2F

    #5FAF2F

    oklch(67.8% 0.178 136.3)

  • #00A7D5

    #00A7D5

    oklch(67.9% 0.13 226.3)

  • #C270E0

    #C270E0

    oklch(67.9% 0.178 316.3)

  • #ED6C1E

    #ED6C1E

    oklch(67.8% 0.179 46)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5FAF2F.

Similar named colors

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

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