#5FA52B#5FA52B

#5FA52B is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.2% C 0.168 H 134.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5FA52B
RGBrgb(95, 165, 43)
HSLhsl(94, 59%, 41%)
HSVhsv(94, 74%, 65%)
CMYKcmyk(42.4%, 0%, 73.9%, 35.3%)
CIE-LABlab(61.23, -42.57, 53.04)
CIE-LCHlch(61.23, 68.01, 128.75°)
OKLaboklab(65.16% -0.1189 0.1192)
OKLCHoklch(65.16% 0.168 134.9)
XYZxyz(18.6101, 29.5166, 7.0017)
Luminance0.2952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA52B #712BA5
analogous
#9CA52B #5FA52B #2BA534
triadic
#5FA52B #2B5FA5 #A52B5F
tetradic
#5FA52B #2B9CA5 #712BA5 #A5342B
square
#5FA52B #2B9CA5 #712BA5 #A5342B
split-complementary
#5FA52B #342BA5 #A52B9C
monochromatic
#274412 #43741E #5FA52B #7CCD40 #9DDA71

Accessibility & contrast

On white

3.04
#5FA52B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#5FA52B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA52B
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA52B#FFFFFF#000000##000000
##5FA52B1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9714
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#5D9F8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa52b;
/* rgb */ color: rgb(95, 165, 43);
/* oklch */ color: oklch(65.2% 0.168 134.9);
Tailwind
colors: {
  custom: {
    50: '#92c06d',
    500: '#5fa52b',
    950: '#000000',
  },
}
SCSS
$custom: #5fa52b;
$custom-light: #92c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa52b",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 94.426,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65157,
    "c": 0.16838,
    "h": 134.9
  },
  "luminance": 0.29518
}

Semantic roles & 50–950 ramp

primary
#5FA52B
secondary
#9C6BC1
accent
#46E29F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA52B

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

Preview Lab → · Contrast checker → · Palette generator →

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