#157D39#157D39

#157D39 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.137 H 149.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#157D39
RGBrgb(21, 125, 57)
HSLhsl(141, 71%, 29%)
HSVhsv(141, 83%, 49%)
CMYKcmyk(83.2%, 0%, 54.4%, 51%)
CIE-LABlab(45.80, -43.83, 29.00)
CIE-LCHlch(45.80, 52.56, 146.51°)
OKLaboklab(51.81% -0.1177 0.0699)
OKLCHoklch(51.81% 0.137 149.3)
XYZxyz(8.3807, 15.1210, 6.3471)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D39 #7D1559
analogous
#257D15 #157D39 #157D6D
triadic
#157D39 #39157D #7D3915
tetradic
#157D39 #15257D #7D1559 #7D6D15
square
#157D39 #15257D #7D1559 #7D6D15
split-complementary
#157D39 #6D157D #7D1525
monochromatic
#041A0C #0C4921 #157D39 #1EB151 #30DC6C

Accessibility & contrast

On white

5.22
#157D39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#157D39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D39
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D39#FFFFFF#000000##FFFFFF
##157D391.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7133
Deuteranopia (green-blind)
#73693E
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d39;
/* rgb */ color: rgb(21, 125, 57);
/* oklch */ color: oklch(51.8% 0.137 149.3);
Tailwind
colors: {
  custom: {
    50: '#67a471',
    500: '#157d39',
    950: '#000000',
  },
}
SCSS
$custom: #157d39;
$custom-light: #67a471;
$custom-dark: #000000;
JSON
{
  "hex": "#157d39",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 57
  },
  "hsl": {
    "h": 140.769,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5181,
    "c": 0.13688,
    "h": 149.3
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#157D39
secondary
#B23C89
accent
#3AB0EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157D39

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

Preview Lab → · Contrast checker → · Palette generator →

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