#157939#157939

#157939 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.132 H 149.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#157939
RGBrgb(21, 121, 57)
HSLhsl(142, 70%, 28%)
HSVhsv(142, 83%, 47%)
CMYKcmyk(82.6%, 0%, 52.9%, 52.5%)
CIE-LABlab(44.42, -42.35, 27.30)
CIE-LCHlch(44.42, 50.39, 147.20°)
OKLaboklab(50.66% -0.1137 0.0661)
OKLCHoklch(50.66% 0.132 149.8)
XYZxyz(7.8845, 14.1286, 6.1817)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157939 #791555
analogous
#237915 #157939 #15796B
triadic
#157939 #391579 #793915
tetradic
#157939 #152379 #791555 #796B15
square
#157939 #152379 #791555 #796B15
split-complementary
#157939 #6B1579 #791523
monochromatic
#051A0C #0C4520 #157939 #1EAD52 #2EDB6C

Accessibility & contrast

On white

5.49
#157939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#157939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157939
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157939#FFFFFF#000000##FFFFFF
##1579391.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E34
Deuteranopia (green-blind)
#6F663E
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157939;
/* rgb */ color: rgb(21, 121, 57);
/* oklch */ color: oklch(50.7% 0.132 149.8);
Tailwind
colors: {
  custom: {
    50: '#66a171',
    500: '#157939',
    950: '#000000',
  },
}
SCSS
$custom: #157939;
$custom-light: #66a171;
$custom-dark: #000000;
JSON
{
  "hex": "#157939",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 141.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50664,
    "c": 0.13154,
    "h": 149.8
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#157939
secondary
#AF3B85
accent
#3BADED
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157939

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

Preview Lab → · Contrast checker → · Palette generator →

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