#159F42#159F42

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

Color values

HEX#159F42
RGBrgb(21, 159, 66)
HSLhsl(140, 77%, 35%)
HSVhsv(140, 87%, 62%)
CMYKcmyk(86.8%, 0%, 58.5%, 37.6%)
CIE-LABlab(57.41, -54.34, 38.42)
CIE-LCHlch(57.41, 66.55, 144.74°)
OKLaboklab(61.48% -0.1458 0.0913)
OKLCHoklch(61.48% 0.172 148)
XYZxyz(13.6896, 25.3473, 9.3242)
Luminance0.2535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#159F42 #9F1572
analogous
#2D9F15 #159F42 #159F87
triadic
#159F42 #42159F #9F4215
tetradic
#159F42 #152D9F #9F1572 #9F8715
square
#159F42 #152D9F #9F1572 #9F8715
split-complementary
#159F42 #87159F #9F152D
monochromatic
#073315 #0E692C #159F42 #1CD558 #48E77C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##159F42#FFFFFF#000000##000000
##159F421.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)
#A19039
Deuteranopia (green-blind)
#92864A
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #159f42;
/* rgb */ color: rgb(21, 159, 66);
/* oklch */ color: oklch(61.5% 0.172 148.0);
Tailwind
colors: {
  custom: {
    50: '#70bd79',
    500: '#159f42',
    950: '#000000',
  },
}
SCSS
$custom: #159f42;
$custom-light: #70bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#159f42",
  "rgb": {
    "r": 21,
    "g": 159,
    "b": 66
  },
  "hsl": {
    "h": 139.565,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61484,
    "c": 0.17203,
    "h": 148
  },
  "luminance": 0.25349
}

Semantic roles & 50–950 ramp

primary
#159F42
secondary
#C8489E
accent
#35B5F3
background
#F7FBF7
surface
#EDF7ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #159F42

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

Preview Lab → · Contrast checker → · Palette generator →

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