#159F40#159F40

#159F40 is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.5% C 0.174 H 147.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#159F40
RGBrgb(21, 159, 64)
HSLhsl(139, 77%, 35%)
HSVhsv(139, 87%, 62%)
CMYKcmyk(86.8%, 0%, 59.7%, 37.6%)
CIE-LABlab(57.39, -54.61, 39.35)
CIE-LCHlch(57.39, 67.31, 144.23°)
OKLaboklab(61.46% -0.1466 0.0932)
OKLCHoklch(61.46% 0.174 147.6)
XYZxyz(13.6317, 25.3241, 9.0191)
Luminance0.2533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#159F40 #9F1574
analogous
#2F9F15 #159F40 #159F85
triadic
#159F40 #40159F #9F4015
tetradic
#159F40 #152F9F #9F1574 #9F8515
square
#159F40 #152F9F #9F1574 #9F8515
split-complementary
#159F40 #85159F #9F152F
monochromatic
#073314 #0E692A #159F40 #1CD556 #48E779

Accessibility & contrast

On white

3.46
#159F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#159F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #159F40
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##159F40#FFFFFF#000000##000000
##159F401.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19036
Deuteranopia (green-blind)
#928648
Tritanopia (blue-blind)
#009B8A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #159f40;
/* rgb */ color: rgb(21, 159, 64);
/* oklch */ color: oklch(61.5% 0.174 147.6);
Tailwind
colors: {
  custom: {
    50: '#70bd78',
    500: '#159f40',
    950: '#000000',
  },
}
SCSS
$custom: #159f40;
$custom-light: #70bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#159f40",
  "rgb": {
    "r": 21,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 138.696,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.17369,
    "h": 147.6
  },
  "luminance": 0.25326
}

Semantic roles & 50–950 ramp

primary
#159F40
secondary
#C848A0
accent
#35B8F3
background
#F7FBF7
surface
#EDF7ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #159F40

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

Preview Lab → · Contrast checker → · Palette generator →

#159F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva