#5FA42C#5FA42C

#5FA42C is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.167 H 134.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5FA42C
RGBrgb(95, 164, 44)
HSLhsl(95, 58%, 41%)
HSVhsv(95, 73%, 64%)
CMYKcmyk(42.1%, 0%, 73.2%, 35.7%)
CIE-LABlab(60.93, -42.08, 52.36)
CIE-LCHlch(60.93, 67.17, 128.79°)
OKLaboklab(64.91% -0.1176 0.1179)
OKLCHoklch(64.91% 0.167 134.9)
XYZxyz(18.4490, 29.1647, 7.0396)
Luminance0.2917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA42C #712CA4
analogous
#9BA42C #5FA42C #2CA435
triadic
#5FA42C #2C5FA4 #A42C5F
tetradic
#5FA42C #2C9BA4 #712CA4 #A4352C
square
#5FA42C #2C9BA4 #712CA4 #A4352C
split-complementary
#5FA42C #352CA4 #A42C9B
monochromatic
#274312 #43741F #5FA42C #7CCC41 #9DD971

Accessibility & contrast

On white

3.07
#5FA42C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#5FA42C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA42C
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA42C#FFFFFF#000000##000000
##5FA42C1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9716
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#5D9E8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5fa42c;
/* rgb */ color: rgb(95, 164, 44);
/* oklch */ color: oklch(64.9% 0.167 134.9);
Tailwind
colors: {
  custom: {
    50: '#92bf6d',
    500: '#5fa42c',
    950: '#000000',
  },
}
SCSS
$custom: #5fa42c;
$custom-light: #92bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa42c",
  "rgb": {
    "r": 95,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 94.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64906,
    "c": 0.1665,
    "h": 134.9
  },
  "luminance": 0.29166
}

Semantic roles & 50–950 ramp

primary
#5FA42C
secondary
#9C6BC0
accent
#47E19F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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