#159040#159040

#159040 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.155 H 148.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#159040
RGBrgb(21, 144, 64)
HSLhsl(141, 75%, 32%)
HSVhsv(141, 85%, 56%)
CMYKcmyk(85.4%, 0%, 55.6%, 43.5%)
CIE-LABlab(52.37, -49.52, 33.38)
CIE-LCHlch(52.37, 59.72, 146.01°)
OKLaboklab(57.29% -0.1328 0.0801)
OKLCHoklch(57.29% 0.155 148.9)
XYZxyz(11.2070, 20.4747, 8.2109)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#159040 #901565
analogous
#279015 #159040 #15907E
triadic
#159040 #401590 #904015
tetradic
#159040 #152790 #901565 #907E15
square
#159040 #152790 #901565 #907E15
split-complementary
#159040 #7E1590 #901527
monochromatic
#052511 #0D5B28 #159040 #1DC558 #3DE377

Accessibility & contrast

On white

4.12
#159040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#159040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #159040
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##159040#FFFFFF#000000##000000
##1590401.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918339
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#008D7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #159040;
/* rgb */ color: rgb(21, 144, 64);
/* oklch */ color: oklch(57.3% 0.155 148.9);
Tailwind
colors: {
  custom: {
    50: '#6cb277',
    500: '#159040',
    950: '#000000',
  },
}
SCSS
$custom: #159040;
$custom-light: #6cb277;
$custom-dark: #000000;
JSON
{
  "hex": "#159040",
  "rgb": {
    "r": 21,
    "g": 144,
    "b": 64
  },
  "hsl": {
    "h": 140.976,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.15512,
    "h": 148.9
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#159040
secondary
#C23E94
accent
#37B0F1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #159040

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

Preview Lab → · Contrast checker → · Palette generator →

#159040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva