#157E42#157E42

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

Color values

HEX#157E42
RGBrgb(21, 126, 66)
HSLhsl(146, 71%, 29%)
HSVhsv(146, 83%, 49%)
CMYKcmyk(83.3%, 0%, 47.6%, 50.6%)
CIE-LABlab(46.28, -42.64, 24.74)
CIE-LCHlch(46.28, 49.30, 149.88°)
OKLaboklab(52.25% -0.1145 0.0607)
OKLCHoklch(52.25% 0.13 152.1)
XYZxyz(8.7527, 15.4734, 7.6786)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E42 #7E1551
analogous
#1D7E15 #157E42 #157E77
triadic
#157E42 #42157E #7E4215
tetradic
#157E42 #151D7E #7E1551 #7E7715
square
#157E42 #151D7E #7E1551 #7E7715
split-complementary
#157E42 #77157E #7E151D
monochromatic
#041A0E #0C4A27 #157E42 #1EB25D #31DD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157E42#FFFFFF#000000##FFFFFF
##157E421.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)
#7E733D
Deuteranopia (green-blind)
#736A46
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157e42;
/* rgb */ color: rgb(21, 126, 66);
/* oklch */ color: oklch(52.2% 0.130 152.1);
Tailwind
colors: {
  custom: {
    50: '#67a477',
    500: '#157e42',
    950: '#000000',
  },
}
SCSS
$custom: #157e42;
$custom-light: #67a477;
$custom-dark: #000000;
JSON
{
  "hex": "#157e42",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 145.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.12962,
    "h": 152.1
  },
  "luminance": 0.15474
}

Semantic roles & 50–950 ramp

primary
#157E42
secondary
#B33C80
accent
#3AA1EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157E42

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

Preview Lab → · Contrast checker → · Palette generator →

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