#5FAC42#5FAC42

#5FAC42 is a light, vivid green. Relative luminance 0.323; OKLCH L 67.2% C 0.161 H 138.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5FAC42
RGBrgb(95, 172, 66)
HSLhsl(104, 45%, 47%)
HSVhsv(104, 62%, 67%)
CMYKcmyk(44.8%, 0%, 61.6%, 32.5%)
CIE-LABlab(63.61, -43.54, 46.09)
CIE-LCHlch(63.61, 63.40, 133.37°)
OKLaboklab(67.17% -0.1199 0.1075)
OKLCHoklch(67.17% 0.161 138.1)
XYZxyz(20.4545, 32.3300, 10.3157)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAC42 #8F42AC
analogous
#94AC42 #5FAC42 #42AC5A
triadic
#5FAC42 #425FAC #AC425F
tetradic
#5FAC42 #4294AC #8F42AC #AC5A42
square
#5FAC42 #4294AC #8F42AC #AC5A42
split-complementary
#5FAC42 #5A42AC #AC4294
monochromatic
#2E5420 #478031 #5FAC42 #80C567 #A5D693

Accessibility & contrast

On white

2.81
#5FAC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#5FAC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAC42
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAC42#FFFFFF#000000##000000
##5FAC421.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E36
Deuteranopia (green-blind)
#A7984A
Tritanopia (blue-blind)
#5AA695
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5fac42;
/* rgb */ color: rgb(95, 172, 66);
/* oklch */ color: oklch(67.2% 0.161 138.1);
Tailwind
colors: {
  custom: {
    50: '#92c57a',
    500: '#5fac42',
    950: '#000000',
  },
}
SCSS
$custom: #5fac42;
$custom-light: #92c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fac42",
  "rgb": {
    "r": 95,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 103.585,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.67166,
    "c": 0.16102,
    "h": 138.1
  },
  "luminance": 0.32331
}

Semantic roles & 50–950 ramp

primary
#5FAC42
secondary
#B289C1
accent
#54D4B1
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #5FAC42

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

Preview Lab → · Contrast checker → · Palette generator →

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