#157E45#157E45

#157E45 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.127 H 153.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#157E45
RGBrgb(21, 126, 69)
HSLhsl(147, 71%, 29%)
HSVhsv(147, 83%, 49%)
CMYKcmyk(83.3%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.32, -42.07, 23.15)
CIE-LCHlch(46.32, 48.02, 151.18°)
OKLaboklab(52.3% -0.1131 0.0571)
OKLCHoklch(52.3% 0.127 153.2)
XYZxyz(8.8435, 15.5097, 8.1567)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E45 #7E154E
analogous
#197E15 #157E45 #157E7A
triadic
#157E45 #45157E #7E4515
tetradic
#157E45 #15197E #7E154E #7E7A15
square
#157E45 #15197E #7E154E #7E7A15
split-complementary
#157E45 #7A157E #7E1519
monochromatic
#041A0E #0C4A28 #157E45 #1EB262 #31DD7F

Accessibility & contrast

On white

5.12
#157E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#157E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E45
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E45#FFFFFF#000000##FFFFFF
##157E451.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7341
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157e45;
/* rgb */ color: rgb(21, 126, 69);
/* oklch */ color: oklch(52.3% 0.127 153.2);
Tailwind
colors: {
  custom: {
    50: '#67a479',
    500: '#157e45',
    950: '#000000',
  },
}
SCSS
$custom: #157e45;
$custom-light: #67a479;
$custom-dark: #000000;
JSON
{
  "hex": "#157e45",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 147.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52304,
    "c": 0.12669,
    "h": 153.2
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#157E45
secondary
#B33C7D
accent
#3A9CEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157E45

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

Preview Lab → · Contrast checker → · Palette generator →

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