#157C42#157C42

#157C42 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.127 H 152.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#157C42
RGBrgb(21, 124, 66)
HSLhsl(146, 71%, 28%)
HSVhsv(146, 83%, 49%)
CMYKcmyk(83.1%, 0%, 46.8%, 51.4%)
CIE-LABlab(45.59, -41.88, 23.86)
CIE-LCHlch(45.59, 48.20, 150.33°)
OKLaboklab(51.68% -0.1125 0.0587)
OKLCHoklch(51.68% 0.127 152.4)
XYZxyz(8.4995, 14.9670, 7.5942)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C42 #7C154F
analogous
#1B7C15 #157C42 #157C75
triadic
#157C42 #42157C #7C4215
tetradic
#157C42 #151B7C #7C154F #7C7515
square
#157C42 #151B7C #7C154F #7C7515
split-complementary
#157C42 #75157C #7C151B
monochromatic
#041A0E #0C4826 #157C42 #1EB05E #30DC7B

Accessibility & contrast

On white

5.26
#157C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#157C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C42
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C42#FFFFFF#000000##FFFFFF
##157C421.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713E
Deuteranopia (green-blind)
#716946
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157c42;
/* rgb */ color: rgb(21, 124, 66);
/* oklch */ color: oklch(51.7% 0.127 152.4);
Tailwind
colors: {
  custom: {
    50: '#66a377',
    500: '#157c42',
    950: '#000000',
  },
}
SCSS
$custom: #157c42;
$custom-light: #66a377;
$custom-dark: #000000;
JSON
{
  "hex": "#157c42",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 66
  },
  "hsl": {
    "h": 146.214,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.12689,
    "h": 152.4
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#157C42
secondary
#B13C7E
accent
#3A9FEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157C42

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

Preview Lab → · Contrast checker → · Palette generator →

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