#5FA211#5FA211

#5FA211 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.2% C 0.176 H 133.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5FA211
RGBrgb(95, 162, 17)
HSLhsl(88, 81%, 35%)
HSVhsv(88, 90%, 64%)
CMYKcmyk(41.4%, 0%, 89.5%, 36.5%)
CIE-LABlab(60.17, -42.58, 59.42)
CIE-LCHlch(60.17, 73.10, 125.62°)
OKLaboklab(64.25% -0.1205 0.1288)
OKLCHoklch(64.25% 0.176 133.1)
XYZxyz(17.7406, 28.3131, 5.0604)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA211 #5411A2
analogous
#A29C11 #5FA211 #16A211
triadic
#5FA211 #115FA2 #A2115F
tetradic
#5FA211 #11A29C #5411A2 #A21116
square
#5FA211 #11A29C #5411A2 #A21116
split-complementary
#5FA211 #1116A2 #9C11A2
monochromatic
#1E3305 #3F6B0B #5FA211 #7FD917 #9DEB42

Accessibility & contrast

On white

3.15
#5FA211 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#5FA211 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA211
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA211#FFFFFF#000000##000000
##5FA2111.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A08F26
Tritanopia (blue-blind)
#5F9B89
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa211;
/* rgb */ color: rgb(95, 162, 17);
/* oklch */ color: oklch(64.2% 0.176 133.1);
Tailwind
colors: {
  custom: {
    50: '#93be62',
    500: '#5fa211',
    950: '#000000',
  },
}
SCSS
$custom: #5fa211;
$custom-light: #93be62;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa211",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 17
  },
  "hsl": {
    "h": 87.724,
    "s": 81.006,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64247,
    "c": 0.17637,
    "h": 133.1
  },
  "luminance": 0.28314
}

Semantic roles & 50–950 ramp

primary
#5FA211
secondary
#8244CB
accent
#30F78C
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5FA211

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5FA211 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva