#157E41#157E41

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

Color values

HEX#157E41
RGBrgb(21, 126, 65)
HSLhsl(145, 71%, 29%)
HSVhsv(145, 83%, 49%)
CMYKcmyk(83.3%, 0%, 48.4%, 50.6%)
CIE-LABlab(46.26, -42.82, 25.27)
CIE-LCHlch(46.26, 49.72, 149.45°)
OKLaboklab(52.23% -0.115 0.0619)
OKLCHoklch(52.23% 0.131 151.7)
XYZxyz(8.7235, 15.4617, 7.5247)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E41 #7E1552
analogous
#1D7E15 #157E41 #157E76
triadic
#157E41 #41157E #7E4115
tetradic
#157E41 #151D7E #7E1552 #7E7615
square
#157E41 #151D7E #7E1552 #7E7615
split-complementary
#157E41 #76157E #7E151D
monochromatic
#041A0E #0C4A26 #157E41 #1EB25C #31DD79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157E41#FFFFFF#000000##FFFFFF
##157E411.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)
#7E733C
Deuteranopia (green-blind)
#736A45
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157e41;
/* rgb */ color: rgb(21, 126, 65);
/* oklch */ color: oklch(52.2% 0.131 151.7);
Tailwind
colors: {
  custom: {
    50: '#67a476',
    500: '#157e41',
    950: '#000000',
  },
}
SCSS
$custom: #157e41;
$custom-light: #67a476;
$custom-dark: #000000;
JSON
{
  "hex": "#157e41",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 65
  },
  "hsl": {
    "h": 145.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.13059,
    "h": 151.7
  },
  "luminance": 0.15463
}

Semantic roles & 50–950 ramp

primary
#157E41
secondary
#B33C81
accent
#3AA3EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157E41

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

Preview Lab → · Contrast checker → · Palette generator →

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