#5FA42E#5FA42E

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

Color values

HEX#5FA42E
RGBrgb(95, 164, 46)
HSLhsl(95, 56%, 41%)
HSVhsv(95, 72%, 64%)
CMYKcmyk(42.1%, 0%, 72%, 35.7%)
CIE-LABlab(60.94, -41.94, 51.62)
CIE-LCHlch(60.94, 66.51, 129.09°)
OKLaboklab(64.92% -0.117 0.1167)
OKLCHoklch(64.92% 0.165 135.1)
XYZxyz(18.4875, 29.1801, 7.2424)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA42E #732EA4
analogous
#9AA42E #5FA42E #2EA438
triadic
#5FA42E #2E5FA4 #A42E5F
tetradic
#5FA42E #2E9AA4 #732EA4 #A4382E
square
#5FA42E #2E9AA4 #732EA4 #A4382E
split-complementary
#5FA42E #382EA4 #A42E9A
monochromatic
#284413 #437421 #5FA42E #7CCB45 #9ED874

Accessibility & contrast

On white

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

On black

6.84
#5FA42E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA42E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA42E#FFFFFF#000000##000000
##5FA42E1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fa42e;
/* rgb */ color: rgb(95, 164, 46);
/* oklch */ color: oklch(64.9% 0.165 135.1);
Tailwind
colors: {
  custom: {
    50: '#92bf6e',
    500: '#5fa42e',
    950: '#000000',
  },
}
SCSS
$custom: #5fa42e;
$custom-light: #92bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa42e",
  "rgb": {
    "r": 95,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 95.085,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64922,
    "c": 0.16524,
    "h": 135.1
  },
  "luminance": 0.29181
}

Semantic roles & 50–950 ramp

primary
#5FA42E
secondary
#9E6EC0
accent
#48DFA1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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