#5FB042#5FB042

#5FB042 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.2% C 0.166 H 138.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5FB042
RGBrgb(95, 176, 66)
HSLhsl(104, 45%, 47%)
HSVhsv(104, 63%, 69%)
CMYKcmyk(46%, 0%, 62.5%, 31%)
CIE-LABlab(64.86, -45.19, 47.49)
CIE-LCHlch(64.86, 65.56, 133.58°)
OKLaboklab(68.19% -0.1244 0.1104)
OKLCHoklch(68.19% 0.166 138.4)
XYZxyz(21.2273, 33.8755, 10.5733)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB042 #9342B0
analogous
#96B042 #5FB042 #42B05C
triadic
#5FB042 #425FB0 #B0425F
tetradic
#5FB042 #4296B0 #9342B0 #B05C42
square
#5FB042 #4296B0 #9342B0 #B05C42
split-complementary
#5FB042 #5C42B0 #B04296
monochromatic
#2F5721 #478331 #5FB042 #81C769 #A7D795

Accessibility & contrast

On white

2.70
#5FB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#5FB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB042
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB042#FFFFFF#000000##000000
##5FB0421.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A235
Deuteranopia (green-blind)
#AA9B4B
Tritanopia (blue-blind)
#59AA99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5fb042;
/* rgb */ color: rgb(95, 176, 66);
/* oklch */ color: oklch(68.2% 0.166 138.4);
Tailwind
colors: {
  custom: {
    50: '#93c87b',
    500: '#5fb042',
    950: '#000000',
  },
}
SCSS
$custom: #5fb042;
$custom-light: #93c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb042",
  "rgb": {
    "r": 95,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 104.182,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68189,
    "c": 0.16638,
    "h": 138.4
  },
  "luminance": 0.33877
}

Semantic roles & 50–950 ramp

primary
#5FB042
secondary
#B48BC3
accent
#53D5B3
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0E130A
muted
#7E827C

Preview Lab

Preview with #5FB042

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

Preview Lab → · Contrast checker → · Palette generator →

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