#157E40#157E40

#157E40 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.132 H 151.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#157E40
RGBrgb(21, 126, 64)
HSLhsl(145, 71%, 29%)
HSVhsv(145, 83%, 49%)
CMYKcmyk(83.3%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.24, -43.01, 25.80)
CIE-LCHlch(46.24, 50.15, 149.04°)
OKLaboklab(52.21% -0.1155 0.0631)
OKLCHoklch(52.21% 0.132 151.4)
XYZxyz(8.6948, 15.4502, 7.3734)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E40 #7E1553
analogous
#1F7E15 #157E40 #157E75
triadic
#157E40 #40157E #7E4015
tetradic
#157E40 #151F7E #7E1553 #7E7515
square
#157E40 #151F7E #7E1553 #7E7515
split-complementary
#157E40 #75157E #7E151F
monochromatic
#041A0D #0C4A25 #157E40 #1EB25B #31DD77

Accessibility & contrast

On white

5.13
#157E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#157E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E40
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E40#FFFFFF#000000##FFFFFF
##157E401.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E733B
Deuteranopia (green-blind)
#736A44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157e40;
/* rgb */ color: rgb(21, 126, 64);
/* oklch */ color: oklch(52.2% 0.132 151.4);
Tailwind
colors: {
  custom: {
    50: '#67a476',
    500: '#157e40',
    950: '#000000',
  },
}
SCSS
$custom: #157e40;
$custom-light: #67a476;
$custom-dark: #000000;
JSON
{
  "hex": "#157e40",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 144.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.13156,
    "h": 151.4
  },
  "luminance": 0.15451
}

Semantic roles & 50–950 ramp

primary
#157E40
secondary
#B33C82
accent
#3AA4EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157E40

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

Preview Lab → · Contrast checker → · Palette generator →

#157E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva