#5FA52C#5FA52C

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

Color values

HEX#5FA52C
RGBrgb(95, 165, 44)
HSLhsl(95, 58%, 41%)
HSVhsv(95, 73%, 65%)
CMYKcmyk(42.4%, 0%, 73.3%, 35.3%)
CIE-LABlab(61.24, -42.50, 52.68)
CIE-LCHlch(61.24, 67.68, 128.90°)
OKLaboklab(65.16% -0.1187 0.1186)
OKLCHoklch(65.16% 0.168 135)
XYZxyz(18.6287, 29.5240, 7.0995)
Luminance0.2953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA52C #722CA5
analogous
#9BA52C #5FA52C #2CA535
triadic
#5FA52C #2C5FA5 #A52C5F
tetradic
#5FA52C #2C9BA5 #722CA5 #A5352C
square
#5FA52C #2C9BA5 #722CA5 #A5352C
split-complementary
#5FA52C #352CA5 #A52C9B
monochromatic
#274412 #43751F #5FA52C #7CCD42 #9ED972

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA52C#FFFFFF#000000##000000
##5FA52C1.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)
#AB9716
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#5D9F8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa52c;
/* rgb */ color: rgb(95, 165, 44);
/* oklch */ color: oklch(65.2% 0.168 135.0);
Tailwind
colors: {
  custom: {
    50: '#92c06d',
    500: '#5fa52c',
    950: '#000000',
  },
}
SCSS
$custom: #5fa52c;
$custom-light: #92c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa52c",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 94.711,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65164,
    "c": 0.16777,
    "h": 135
  },
  "luminance": 0.29525
}

Semantic roles & 50–950 ramp

primary
#5FA52C
secondary
#9D6CC1
accent
#47E1A0
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA52C

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

Preview Lab → · Contrast checker → · Palette generator →

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