#5FA52A#5FA52A

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

Color values

HEX#5FA52A
RGBrgb(95, 165, 42)
HSLhsl(94, 59%, 41%)
HSVhsv(94, 75%, 65%)
CMYKcmyk(42.4%, 0%, 74.5%, 35.3%)
CIE-LABlab(61.23, -42.64, 53.39)
CIE-LCHlch(61.23, 68.33, 128.61°)
OKLaboklab(65.15% -0.1192 0.1198)
OKLCHoklch(65.15% 0.169 134.9)
XYZxyz(18.5920, 29.5093, 6.9063)
Luminance0.2951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA52A #702AA5
analogous
#9CA52A #5FA52A #2AA532
triadic
#5FA52A #2A5FA5 #A52A5F
tetradic
#5FA52A #2A9CA5 #702AA5 #A5322A
square
#5FA52A #2A9CA5 #702AA5 #A5322A
split-complementary
#5FA52A #322AA5 #A52A9C
monochromatic
#274311 #43741E #5FA52A #7CCE3E #9DDA6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA52A#FFFFFF#000000##000000
##5FA52A1.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)
#AB9711
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#5D9F8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa52a;
/* rgb */ color: rgb(95, 165, 42);
/* oklch */ color: oklch(65.1% 0.169 134.9);
Tailwind
colors: {
  custom: {
    50: '#92c06c',
    500: '#5fa52a',
    950: '#000000',
  },
}
SCSS
$custom: #5fa52a;
$custom-light: #92c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa52a",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 94.146,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6515,
    "c": 0.16898,
    "h": 134.9
  },
  "luminance": 0.2951
}

Semantic roles & 50–950 ramp

primary
#5FA52A
secondary
#9B69C1
accent
#45E39F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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