#5FAF12

Closest named color: Grass (#5CAC2D). oklch(67.6% 0.191 134.7), rgb(95, 175, 18).

Aa

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

About this color

#5FAF12 is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.191 and its hue 135°. 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.62:1.

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

Values

HEX#5FAF12
RGBrgb(95, 175, 18)
HSLhsl(91, 81%, 38%)
OKLCHoklch(67.6% 0.191 134.7)

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 #5FAF12 2.75:1 Fails Lc -58.1 Large or bold text, headings
Black text on #5FAF12 7.62:1 AAA Lc 51.2 Large or bold text, headings
#5FAF12 text on white 2.75:1 Fails Lc 52.9 Large or bold text, headings
#5FAF12 text on black 7.62: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

    #E0EFD8

    oklch(93.5% 0.034 134.5)

  3. Step 200

    200

    #C7E4B8

    oklch(88.6% 0.067 135)

  4. Step 300

    300

    #9FD282

    oklch(80.9% 0.12 134.8)

  5. Step 400

    400 (this color)

    #5FAF12

    oklch(67.6% 0.191 134.7)

  6. Step 500

    500

    #54A000

    oklch(63.1% 0.184 134.7)

  7. Step 600

    600

    #468600

    oklch(55.5% 0.161 134.6)

  8. Step 700

    700

    #3A7100

    oklch(49.1% 0.142 134.6)

  9. Step 800

    800

    #2E5D00

    oklch(42.8% 0.125 134.8)

  10. Step 900

    900

    #264D00

    oklch(37.6% 0.109 134.4)

  11. Step 950

    950

    #142E00

    oklch(27% 0.078 134.6)

Export this scale for Tailwind in the Tailwind colors tool

#5FAF12 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.114
Deuteranopia (no green cones)#AB992A0.114
Tritanopia (no blue cones)#5DA8950.140
Achromatopsia (no color)#9C9C9C0.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FAF12

    #5FAF12

    oklch(67.6% 0.191 134.7)

  • #C26CE7

    #C26CE7

    oklch(67.7% 0.191 314.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FAF12

    #5FAF12

    oklch(67.6% 0.191 134.7)

  • #A59B00

    #A59B00

    oklch(67.6% 0.144 105)

  • #00B280

    #00B280

    oklch(67.6% 0.143 164.5)

Open the analogous palette in the generator

Split complementary

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

  • #5FAF12

    #5FAF12

    oklch(67.6% 0.191 134.7)

  • #8E82FF

    #8E82FF

    oklch(67.5% 0.179 284.9)

  • #E45DB2

    #E45DB2

    oklch(67.6% 0.191 344.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FAF12

    #5FAF12

    oklch(67.6% 0.191 134.7)

  • #4098FF

    #4098FF

    oklch(67.7% 0.174 254.6)

  • #F55971

    #F55971

    oklch(67.6% 0.191 14.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FAF12

    #5FAF12

    oklch(67.6% 0.191 134.7)

  • #00A7D2

    #00A7D2

    oklch(67.7% 0.128 224.6)

  • #C26CE7

    #C26CE7

    oklch(67.7% 0.191 314.7)

  • #F2660B

    #F2660B

    oklch(67.6% 0.191 44.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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