#5FA23B#5FA23B

#5FA23B is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.5% C 0.153 H 136.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5FA23B
RGBrgb(95, 162, 59)
HSLhsl(99, 47%, 43%)
HSVhsv(99, 64%, 64%)
CMYKcmyk(41.4%, 0%, 63.6%, 36.5%)
CIE-LABlab(60.42, -39.99, 45.66)
CIE-LCHlch(60.42, 60.70, 131.21°)
OKLaboklab(64.53% -0.1108 0.1058)
OKLCHoklch(64.53% 0.153 136.3)
XYZxyz(18.4286, 28.5883, 8.6839)
Luminance0.2859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA23B #7E3BA2
analogous
#92A23B #5FA23B #3BA24A
triadic
#5FA23B #3B5FA2 #A23B5F
tetradic
#5FA23B #3B92A2 #7E3BA2 #A24A3B
square
#5FA23B #3B92A2 #7E3BA2 #A24A3B
split-complementary
#5FA23B #4A3BA2 #A23B92
monochromatic
#2A481A #45752B #5FA23B #7DC258 #A0D385

Accessibility & contrast

On white

3.13
#5FA23B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#5FA23B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA23B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA23B#FFFFFF#000000##000000
##5FA23B1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7952F
Deuteranopia (green-blind)
#9E9043
Tritanopia (blue-blind)
#5C9C8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5fa23b;
/* rgb */ color: rgb(95, 162, 59);
/* oklch */ color: oklch(64.5% 0.153 136.3);
Tailwind
colors: {
  custom: {
    50: '#91be75',
    500: '#5fa23b',
    950: '#000000',
  },
}
SCSS
$custom: #5fa23b;
$custom-light: #91be75;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa23b",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 99.029,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.64527,
    "c": 0.15316,
    "h": 136.3
  },
  "luminance": 0.28589
}

Semantic roles & 50–950 ramp

primary
#5FA23B
secondary
#A67CBD
accent
#52D6A8
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5FA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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