#157D43#157D43

#157D43 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.127 H 152.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#157D43
RGBrgb(21, 125, 67)
HSLhsl(147, 71%, 29%)
HSVhsv(147, 83%, 49%)
CMYKcmyk(83.2%, 0%, 46.4%, 51%)
CIE-LABlab(45.95, -42.07, 23.77)
CIE-LCHlch(45.95, 48.32, 150.53°)
OKLaboklab(51.98% -0.113 0.0585)
OKLCHoklch(51.98% 0.127 152.6)
XYZxyz(8.6552, 15.2308, 7.7928)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D43 #7D154F
analogous
#1B7D15 #157D43 #157D77
triadic
#157D43 #43157D #7D4315
tetradic
#157D43 #151B7D #7D154F #7D7715
square
#157D43 #151B7D #7D154F #7D7715
split-complementary
#157D43 #77157D #7D151B
monochromatic
#041A0E #0C4927 #157D43 #1EB15F #30DC7C

Accessibility & contrast

On white

5.19
#157D43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#157D43 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D43
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D43#FFFFFF#000000##FFFFFF
##157D431.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723F
Deuteranopia (green-blind)
#716947
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157d43;
/* rgb */ color: rgb(21, 125, 67);
/* oklch */ color: oklch(52.0% 0.127 152.6);
Tailwind
colors: {
  custom: {
    50: '#66a478',
    500: '#157d43',
    950: '#000000',
  },
}
SCSS
$custom: #157d43;
$custom-light: #66a478;
$custom-dark: #000000;
JSON
{
  "hex": "#157d43",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 67
  },
  "hsl": {
    "h": 146.538,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.12728,
    "h": 152.6
  },
  "luminance": 0.15232
}

Semantic roles & 50–950 ramp

primary
#157D43
secondary
#B23C7E
accent
#3A9EEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157D43

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

Preview Lab → · Contrast checker → · Palette generator →

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