#5FA52E#5FA52E

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

Color values

HEX#5FA52E
RGBrgb(95, 165, 46)
HSLhsl(95, 56%, 41%)
HSVhsv(95, 72%, 65%)
CMYKcmyk(42.4%, 0%, 72.1%, 35.3%)
CIE-LABlab(61.25, -42.36, 51.94)
CIE-LCHlch(61.25, 67.02, 129.20°)
OKLaboklab(65.18% -0.1182 0.1173)
OKLCHoklch(65.18% 0.167 135.2)
XYZxyz(18.6672, 29.5394, 7.3023)
Luminance0.2954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA52E #742EA5
analogous
#9BA52E #5FA52E #2EA539
triadic
#5FA52E #2E5FA5 #A52E5F
tetradic
#5FA52E #2E9BA5 #742EA5 #A5392E
square
#5FA52E #2E9BA5 #742EA5 #A5392E
split-complementary
#5FA52E #392EA5 #A52E9B
monochromatic
#284513 #437521 #5FA52E #7CCB45 #9ED875

Accessibility & contrast

On white

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

On black

6.91
#5FA52E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA52E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA52E#FFFFFF#000000##000000
##5FA52E1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971A
Deuteranopia (green-blind)
#A29239
Tritanopia (blue-blind)
#5D9F8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa52e;
/* rgb */ color: rgb(95, 165, 46);
/* oklch */ color: oklch(65.2% 0.167 135.2);
Tailwind
colors: {
  custom: {
    50: '#92c06e',
    500: '#5fa52e',
    950: '#000000',
  },
}
SCSS
$custom: #5fa52e;
$custom-light: #92c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa52e",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 95.294,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65179,
    "c": 0.16652,
    "h": 135.2
  },
  "luminance": 0.2954
}

Semantic roles & 50–950 ramp

primary
#5FA52E
secondary
#9F6FC0
accent
#48E0A1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA52E

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

Preview Lab → · Contrast checker → · Palette generator →

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