#5FA23A#5FA23A

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

Color values

HEX#5FA23A
RGBrgb(95, 162, 58)
HSLhsl(99, 47%, 43%)
HSVhsv(99, 64%, 64%)
CMYKcmyk(41.4%, 0%, 64.2%, 36.5%)
CIE-LABlab(60.41, -40.08, 46.10)
CIE-LCHlch(60.41, 61.09, 131.01°)
OKLaboklab(64.52% -0.1111 0.1066)
OKLCHoklch(64.52% 0.154 136.2)
XYZxyz(18.4029, 28.5780, 8.5486)
Luminance0.2858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA23A #7D3AA2
analogous
#93A23A #5FA23A #3AA249
triadic
#5FA23A #3A5FA2 #A23A5F
tetradic
#5FA23A #3A93A2 #7D3AA2 #A2493A
square
#5FA23A #3A93A2 #7D3AA2 #A2493A
split-complementary
#5FA23A #493AA2 #A23A93
monochromatic
#2A481A #45752A #5FA23A #7DC357 #A0D384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA23A#FFFFFF#000000##000000
##5FA23A1.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)
#A8952D
Deuteranopia (green-blind)
#9E9042
Tritanopia (blue-blind)
#5D9C8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5fa23a;
/* rgb */ color: rgb(95, 162, 58);
/* oklch */ color: oklch(64.5% 0.154 136.2);
Tailwind
colors: {
  custom: {
    50: '#91be75',
    500: '#5fa23a',
    950: '#000000',
  },
}
SCSS
$custom: #5fa23a;
$custom-light: #91be75;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa23a",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 98.654,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.64517,
    "c": 0.15396,
    "h": 136.2
  },
  "luminance": 0.28579
}

Semantic roles & 50–950 ramp

primary
#5FA23A
secondary
#A57BBD
accent
#51D7A7
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5FA23A

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

Preview Lab → · Contrast checker → · Palette generator →

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