#5FA11A#5FA11A

#5FA11A is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.0% C 0.172 H 133.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5FA11A
RGBrgb(95, 161, 26)
HSLhsl(89, 72%, 37%)
HSVhsv(89, 84%, 63%)
CMYKcmyk(41%, 0%, 83.9%, 36.9%)
CIE-LABlab(59.89, -41.83, 57.13)
CIE-LCHlch(59.89, 70.80, 126.21°)
OKLaboklab(64.02% -0.1181 0.1252)
OKLCHoklch(64.02% 0.172 133.3)
XYZxyz(17.6504, 27.9963, 5.4509)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA11A #5C1AA1
analogous
#A1A01A #5FA11A #1CA11A
triadic
#5FA11A #1A5FA1 #A11A5F
tetradic
#5FA11A #1AA1A0 #5C1AA1 #A11A1C
square
#5FA11A #1AA1A0 #5C1AA1 #A11A1C
split-complementary
#5FA11A #1A1CA1 #A01AA1
monochromatic
#213809 #406C11 #5FA11A #7ED623 #9CE352

Accessibility & contrast

On white

3.18
#5FA11A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#5FA11A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA11A
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA11A#FFFFFF#000000##000000
##5FA11A1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#5F9A89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa11a;
/* rgb */ color: rgb(95, 161, 26);
/* oklch */ color: oklch(64.0% 0.172 133.3);
Tailwind
colors: {
  custom: {
    50: '#93bd65',
    500: '#5fa11a',
    950: '#000000',
  },
}
SCSS
$custom: #5fa11a;
$custom-light: #93bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa11a",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 89.333,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64023,
    "c": 0.17207,
    "h": 133.3
  },
  "luminance": 0.27997
}

Semantic roles & 50–950 ramp

primary
#5FA11A
secondary
#8A51C6
accent
#39EF92
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5FA11A

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

Preview Lab → · Contrast checker → · Palette generator →

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