#5FA12B#5FA12B

#5FA12B is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.163 H 134.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5FA12B
RGBrgb(95, 161, 43)
HSLhsl(94, 58%, 40%)
HSVhsv(94, 73%, 63%)
CMYKcmyk(41%, 0%, 73.3%, 36.9%)
CIE-LABlab(59.98, -40.88, 51.78)
CIE-LCHlch(59.98, 65.97, 128.29°)
OKLaboklab(64.13% -0.1144 0.1166)
OKLCHoklch(64.13% 0.163 134.5)
XYZxyz(17.8999, 28.0961, 6.7650)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA12B #6D2BA1
analogous
#9AA12B #5FA12B #2BA132
triadic
#5FA12B #2B5FA1 #A12B5F
tetradic
#5FA12B #2B9AA1 #6D2BA1 #A1322B
square
#5FA12B #2B9AA1 #6D2BA1 #A1322B
split-complementary
#5FA12B #322BA1 #A12B9A
monochromatic
#264011 #43711E #5FA12B #7CCB3E #9DD86E

Accessibility & contrast

On white

3.17
#5FA12B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#5FA12B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA12B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA12B#FFFFFF#000000##000000
##5FA12B1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79416
Deuteranopia (green-blind)
#9E8F36
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa12b;
/* rgb */ color: rgb(95, 161, 43);
/* oklch */ color: oklch(64.1% 0.163 134.5);
Tailwind
colors: {
  custom: {
    50: '#92bd6c',
    500: '#5fa12b',
    950: '#000000',
  },
}
SCSS
$custom: #5fa12b;
$custom-light: #92bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa12b",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 93.559,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.64125,
    "c": 0.16331,
    "h": 134.5
  },
  "luminance": 0.28097
}

Semantic roles & 50–950 ramp

primary
#5FA12B
secondary
#9969BF
accent
#47E19D
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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