#5FA540#5FA540

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

Color values

HEX#5FA540
RGBrgb(95, 165, 64)
HSLhsl(102, 44%, 45%)
HSVhsv(102, 61%, 65%)
CMYKcmyk(42.4%, 0%, 61.2%, 35.3%)
CIE-LABlab(61.41, -40.78, 44.51)
CIE-LCHlch(61.41, 60.37, 132.50°)
OKLaboklab(65.35% -0.1126 0.1039)
OKLCHoklch(65.35% 0.153 137.3)
XYZxyz(19.0993, 29.7122, 9.5781)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA540 #8640A5
analogous
#92A540 #5FA540 #40A553
triadic
#5FA540 #405FA5 #A5405F
tetradic
#5FA540 #4092A5 #8640A5 #A55340
square
#5FA540 #4092A5 #8640A5 #A55340
split-complementary
#5FA540 #5340A5 #A54092
monochromatic
#2C4D1E #46792F #5FA540 #7EC261 #A2D38D

Accessibility & contrast

On white

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

On black

6.94
#5FA540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA540
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA540#FFFFFF#000000##000000
##5FA5401.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9835
Deuteranopia (green-blind)
#A19248
Tritanopia (blue-blind)
#5B9F8F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa540;
/* rgb */ color: rgb(95, 165, 64);
/* oklch */ color: oklch(65.4% 0.153 137.3);
Tailwind
colors: {
  custom: {
    50: '#91c079',
    500: '#5fa540',
    950: '#000000',
  },
}
SCSS
$custom: #5fa540;
$custom-light: #91c079;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa540",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 101.584,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.65351,
    "c": 0.15316,
    "h": 137.3
  },
  "luminance": 0.29713
}

Semantic roles & 50–950 ramp

primary
#5FA540
secondary
#AC83BE
accent
#54D4AD
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1209
muted
#7E817B

Preview Lab

Preview with #5FA540

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

Preview Lab → · Contrast checker → · Palette generator →

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