#5FA542#5FA542

#5FA542 is a light, vivid green. Relative luminance 0.297; OKLCH L 65.4% C 0.151 H 137.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5FA542
RGBrgb(95, 165, 66)
HSLhsl(102, 43%, 45%)
HSVhsv(102, 60%, 65%)
CMYKcmyk(42.4%, 0%, 60%, 35.3%)
CIE-LABlab(61.43, -40.57, 43.61)
CIE-LCHlch(61.43, 59.56, 132.93°)
OKLaboklab(65.37% -0.1118 0.1021)
OKLCHoklch(65.37% 0.151 137.6)
XYZxyz(19.1572, 29.7354, 9.8833)
Luminance0.2974 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA542 #8842A5
analogous
#90A542 #5FA542 #42A556
triadic
#5FA542 #425FA5 #A5425F
tetradic
#5FA542 #4290A5 #8842A5 #A55642
square
#5FA542 #4290A5 #8842A5 #A55642
split-complementary
#5FA542 #5642A5 #A54290
monochromatic
#2D4E1F #467931 #5FA542 #7FC163 #A3D28F

Accessibility & contrast

On white

3.02
#5FA542 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#5FA542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA542
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA542#FFFFFF#000000##000000
##5FA5421.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9837
Deuteranopia (green-blind)
#A0924A
Tritanopia (blue-blind)
#5BA090
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa542;
/* rgb */ color: rgb(95, 165, 66);
/* oklch */ color: oklch(65.4% 0.151 137.6);
Tailwind
colors: {
  custom: {
    50: '#91c07a',
    500: '#5fa542',
    950: '#000000',
  },
}
SCSS
$custom: #5fa542;
$custom-light: #91c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa542",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 102.424,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.65374,
    "c": 0.15147,
    "h": 137.6
  },
  "luminance": 0.29737
}

Semantic roles & 50–950 ramp

primary
#5FA542
secondary
#AD85BD
accent
#55D3AE
background
#F9FBF7
surface
#F2F7EE
border
#CCD0C9
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5FA542

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

Preview Lab → · Contrast checker → · Palette generator →

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