#5FA23C#5FA23C

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

Color values

HEX#5FA23C
RGBrgb(95, 162, 60)
HSLhsl(99, 46%, 44%)
HSVhsv(99, 63%, 64%)
CMYKcmyk(41.4%, 0%, 63%, 36.5%)
CIE-LABlab(60.43, -39.89, 45.23)
CIE-LCHlch(60.43, 60.31, 131.41°)
OKLaboklab(64.54% -0.1104 0.105)
OKLCHoklch(64.54% 0.152 136.5)
XYZxyz(18.4548, 28.5988, 8.8218)
Luminance0.2860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA23C #7F3CA2
analogous
#92A23C #5FA23C #3CA24C
triadic
#5FA23C #3C5FA2 #A23C5F
tetradic
#5FA23C #3C92A2 #7F3CA2 #A24C3C
square
#5FA23C #3C92A2 #7F3CA2 #A24C3C
split-complementary
#5FA23C #4C3CA2 #A23C92
monochromatic
#2B491B #45752B #5FA23C #7DC259 #A0D286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA23C#FFFFFF#000000##000000
##5FA23C1.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)
#A79530
Deuteranopia (green-blind)
#9E9044
Tritanopia (blue-blind)
#5C9C8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5fa23c;
/* rgb */ color: rgb(95, 162, 60);
/* oklch */ color: oklch(64.5% 0.152 136.5);
Tailwind
colors: {
  custom: {
    50: '#91be76',
    500: '#5fa23c',
    950: '#000000',
  },
}
SCSS
$custom: #5fa23c;
$custom-light: #91be76;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa23c",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 99.412,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.64538,
    "c": 0.15236,
    "h": 136.5
  },
  "luminance": 0.286
}

Semantic roles & 50–950 ramp

primary
#5FA23C
secondary
#A77DBC
accent
#52D6A9
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5FA23C

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

Preview Lab → · Contrast checker → · Palette generator →

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