#5FAF02

Closest named color: Leaf Green (#5CA904). oklch(67.6% 0.194 134.3), rgb(95, 175, 2).

Aa

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

About this color

#5FAF02 is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.194 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Leaf Green (#5CA904), ΔE 0.018 away. Black text reads best on it, at 7.61:1.

Hue familyGreens
Lightnessmedium-light (68%)
Chromavivid (0.194)
Temperaturein between
Nearest nameLeaf Green (#5CA904)
Black text7.61:1
White text2.75:1

Values

HEX#5FAF02
RGBrgb(95, 175, 2)
HSLhsl(88, 98%, 35%)
OKLCHoklch(67.6% 0.194 134.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 #5FAF02 2.75:1 Fails Lc -58.1 Large or bold text, headings
Black text on #5FAF02 7.61:1 AAA Lc 51.2 Large or bold text, headings
#5FAF02 text on white 2.75:1 Fails Lc 52.9 Large or bold text, headings
#5FAF02 text on black 7.61:1 AAA Lc -49.0 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

    #F1F8ED

    oklch(97.1% 0.016 133.8)

  2. Step 100

    100

    #E0F0D8

    oklch(93.7% 0.036 135)

  3. Step 200

    200

    #C7E4B7

    oklch(88.6% 0.068 134.5)

  4. Step 300

    300

    #9FD280

    oklch(80.9% 0.122 134.4)

  5. Step 400

    400 (this color)

    #5FAF02

    oklch(67.6% 0.194 134.3)

  6. Step 500

    500

    #56A000

    oklch(63.2% 0.183 134.3)

  7. Step 600

    600

    #478600

    oklch(55.6% 0.16 134.3)

  8. Step 700

    700

    #3B7100

    oklch(49.2% 0.142 134.3)

  9. Step 800

    800

    #2F5C00

    oklch(42.5% 0.123 134.3)

  10. Step 900

    900

    #264D00

    oklch(37.6% 0.109 134.4)

  11. Step 950

    950

    #152E00

    oklch(27% 0.078 134)

Export this scale for Tailwind in the Tailwind colors tool

#5FAF02 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)#B6A0000.115
Deuteranopia (no green cones)#AC99240.115
Tritanopia (no blue cones)#5DA8940.142
Achromatopsia (no color)#9C9C9C0.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FAF02

    #5FAF02

    oklch(67.6% 0.194 134.3)

  • #C26BE8

    #C26BE8

    oklch(67.6% 0.194 314.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FAF02

    #5FAF02

    oklch(67.6% 0.194 134.3)

  • #A69A00

    #A69A00

    oklch(67.5% 0.143 104)

  • #00B27F

    #00B27F

    oklch(67.6% 0.144 164.1)

Open the analogous palette in the generator

Split complementary

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

  • #5FAF02

    #5FAF02

    oklch(67.6% 0.194 134.3)

  • #8D83FF

    #8D83FF

    oklch(67.6% 0.178 284.2)

  • #E55CB3

    #E55CB3

    oklch(67.6% 0.194 344.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FAF02

    #5FAF02

    oklch(67.6% 0.194 134.3)

  • #3E98FF

    #3E98FF

    oklch(67.6% 0.175 254.2)

  • #F65771

    #F65771

    oklch(67.5% 0.194 14.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FAF02

    #5FAF02

    oklch(67.6% 0.194 134.3)

  • #00A7D1

    #00A7D1

    oklch(67.7% 0.127 224.1)

  • #C26BE8

    #C26BE8

    oklch(67.6% 0.194 314.5)

  • #F36404

    #F36404

    oklch(67.5% 0.194 44.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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