#5FA042#5FA042

#5FA042 is a light, vivid green. Relative luminance 0.280; OKLCH L 64.1% C 0.144 H 137.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5FA042
RGBrgb(95, 160, 66)
HSLhsl(101, 42%, 44%)
HSVhsv(101, 59%, 63%)
CMYKcmyk(40.6%, 0%, 58.8%, 37.3%)
CIE-LABlab(59.86, -38.40, 41.81)
CIE-LCHlch(59.86, 56.77, 132.57°)
OKLaboklab(64.09% -0.1059 0.0983)
OKLCHoklch(64.09% 0.145 137.1)
XYZxyz(18.2730, 27.9669, 9.5885)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA042 #8342A0
analogous
#8EA042 #5FA042 #42A054
triadic
#5FA042 #425FA0 #A0425F
tetradic
#5FA042 #428EA0 #8342A0 #A05442
square
#5FA042 #428EA0 #8342A0 #A05442
split-complementary
#5FA042 #5442A0 #A0428E
monochromatic
#2C491E #457530 #5FA042 #7EBE61 #A1D08D

Accessibility & contrast

On white

3.18
#5FA042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#5FA042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA042
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA042#FFFFFF#000000##000000
##5FA0421.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59438
Deuteranopia (green-blind)
#9C8E49
Tritanopia (blue-blind)
#5C9B8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa042;
/* rgb */ color: rgb(95, 160, 66);
/* oklch */ color: oklch(64.1% 0.144 137.1);
Tailwind
colors: {
  custom: {
    50: '#91bc79',
    500: '#5fa042',
    950: '#000000',
  },
}
SCSS
$custom: #5fa042;
$custom-light: #91bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa042",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 101.489,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.64094,
    "c": 0.1445,
    "h": 137.1
  },
  "luminance": 0.27968
}

Semantic roles & 50–950 ramp

primary
#5FA042
secondary
#AA83BB
accent
#56D1AB
background
#F9FBF7
surface
#F1F6EE
border
#CBD0C9
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5FA042

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

Preview Lab → · Contrast checker → · Palette generator →

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