#5FA52F#5FA52F

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

Color values

HEX#5FA52F
RGBrgb(95, 165, 47)
HSLhsl(96, 56%, 42%)
HSVhsv(96, 72%, 65%)
CMYKcmyk(42.4%, 0%, 71.5%, 35.3%)
CIE-LABlab(61.26, -42.28, 51.56)
CIE-LCHlch(61.26, 66.69, 129.35°)
OKLaboklab(65.19% -0.1179 0.1167)
OKLCHoklch(65.19% 0.166 135.3)
XYZxyz(18.6871, 29.5474, 7.4073)
Luminance0.2955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA52F #752FA5
analogous
#9AA52F #5FA52F #2FA53A
triadic
#5FA52F #2F5FA5 #A52F5F
tetradic
#5FA52F #2F9AA5 #752FA5 #A53A2F
square
#5FA52F #2F9AA5 #752FA5 #A53A2F
split-complementary
#5FA52F #3A2FA5 #A52F9A
monochromatic
#284614 #447521 #5FA52F #7CCB47 #9ED876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA52F#FFFFFF#000000##000000
##5FA52F1.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)
#AB981C
Deuteranopia (green-blind)
#A2923A
Tritanopia (blue-blind)
#5D9F8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa52f;
/* rgb */ color: rgb(95, 165, 47);
/* oklch */ color: oklch(65.2% 0.166 135.3);
Tailwind
colors: {
  custom: {
    50: '#92c06f',
    500: '#5fa52f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa52f;
$custom-light: #92c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa52f",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 95.593,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65187,
    "c": 0.16587,
    "h": 135.3
  },
  "luminance": 0.29548
}

Semantic roles & 50–950 ramp

primary
#5FA52F
secondary
#9F70C0
accent
#49DFA2
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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