#5FA62C#5FA62C

#5FA62C is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.4% C 0.169 H 135.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5FA62C
RGBrgb(95, 166, 44)
HSLhsl(95, 58%, 41%)
HSVhsv(95, 73%, 65%)
CMYKcmyk(42.8%, 0%, 73.5%, 34.9%)
CIE-LABlab(61.56, -42.92, 52.99)
CIE-LCHlch(61.56, 68.19, 129.00°)
OKLaboklab(65.42% -0.1198 0.1192)
OKLCHoklch(65.42% 0.169 135.1)
XYZxyz(18.8097, 29.8861, 7.1599)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA62C #732CA6
analogous
#9CA62C #5FA62C #2CA636
triadic
#5FA62C #2C5FA6 #A62C5F
tetradic
#5FA62C #2C9CA6 #732CA6 #A6362C
square
#5FA62C #2C9CA6 #732CA6 #A6362C
split-complementary
#5FA62C #362CA6 #A62C9C
monochromatic
#284512 #43761F #5FA62C #7CCD42 #9EDA73

Accessibility & contrast

On white

3.01
#5FA62C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#5FA62C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA62C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA62C#FFFFFF#000000##000000
##5FA62C1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9815
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#5DA08E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5fa62c;
/* rgb */ color: rgb(95, 166, 44);
/* oklch */ color: oklch(65.4% 0.169 135.1);
Tailwind
colors: {
  custom: {
    50: '#92c16d',
    500: '#5fa62c',
    950: '#000000',
  },
}
SCSS
$custom: #5fa62c;
$custom-light: #92c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa62c",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 94.918,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65422,
    "c": 0.16903,
    "h": 135.1
  },
  "luminance": 0.29887
}

Semantic roles & 50–950 ramp

primary
#5FA62C
secondary
#9E6DC1
accent
#46E1A1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA62C

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

Preview Lab → · Contrast checker → · Palette generator →

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