#5FAF2C

Closest named color: Grass (#5CAC2D). oklch(67.7% 0.18 136.1), rgb(95, 175, 44).

Aa

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

About this color

#5FAF2C is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.180 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.010 away. Black text reads best on it, at 7.65:1.

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

Values

HEX#5FAF2C
RGBrgb(95, 175, 44)
HSLhsl(97, 60%, 43%)
OKLCHoklch(67.7% 0.18 136.1)

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

    #C7E3BA

    oklch(88.5% 0.063 135.7)

  4. Step 300

    300

    #9FD188

    oklch(80.8% 0.112 136.2)

  5. Step 400

    400 (this color)

    #5FAF2C

    oklch(67.7% 0.18 136.1)

  6. Step 500

    500

    #4DA100

    oklch(63.1% 0.188 136.1)

  7. Step 600

    600

    #408700

    oklch(55.5% 0.165 136)

  8. Step 700

    700

    #357200

    oklch(49.1% 0.146 136)

  9. Step 800

    800

    #2A5D00

    oklch(42.6% 0.127 136)

  10. Step 900

    900

    #224E00

    oklch(37.7% 0.112 136.1)

  11. Step 950

    950

    #122F00

    oklch(27.2% 0.081 136)

Export this scale for Tailwind in the Tailwind colors tool

#5FAF2C 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)#B5A0110.110
Deuteranopia (no green cones)#AB9A390.111
Tritanopia (no blue cones)#5CA8960.130
Achromatopsia (no color)#9C9C9C0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FAF2C

    #5FAF2C

    oklch(67.7% 0.18 136.1)

  • #C26FE1

    #C26FE1

    oklch(67.8% 0.18 316.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FAF2C

    #5FAF2C

    oklch(67.7% 0.18 136.1)

  • #A49C00

    #A49C00

    oklch(67.8% 0.145 106)

  • #00B283

    #00B283

    oklch(67.7% 0.141 165.9)

Open the analogous palette in the generator

Split complementary

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

  • #5FAF2C

    #5FAF2C

    oklch(67.7% 0.18 136.1)

  • #9182FF

    #9182FF

    oklch(67.8% 0.179 286.1)

  • #E262AF

    #E262AF

    oklch(67.8% 0.18 345.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FAF2C

    #5FAF2C

    oklch(67.7% 0.18 136.1)

  • #4797FF

    #4797FF

    oklch(67.7% 0.173 256.2)

  • #F15F71

    #F15F71

    oklch(67.7% 0.18 15.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FAF2C

    #5FAF2C

    oklch(67.7% 0.18 136.1)

  • #00A7D4

    #00A7D4

    oklch(67.8% 0.129 225.8)

  • #C26FE1

    #C26FE1

    oklch(67.8% 0.18 316.1)

  • #ED6B1C

    #ED6B1C

    oklch(67.6% 0.18 45.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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