#157B41#157B41

#157B41 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.127 H 152.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#157B41
RGBrgb(21, 123, 65)
HSLhsl(146, 71%, 28%)
HSVhsv(146, 83%, 48%)
CMYKcmyk(82.9%, 0%, 47.2%, 51.8%)
CIE-LABlab(45.23, -41.68, 23.95)
CIE-LCHlch(45.23, 48.08, 150.12°)
OKLaboklab(51.38% -0.112 0.0589)
OKLCHoklch(51.38% 0.127 152.3)
XYZxyz(8.3456, 14.7060, 7.3987)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B41 #7B154F
analogous
#1C7B15 #157B41 #157B74
triadic
#157B41 #41157B #7B4115
tetradic
#157B41 #151C7B #7B154F #7B7415
square
#157B41 #151C7B #7B154F #7B7415
split-complementary
#157B41 #74157B #7B151C
monochromatic
#041A0E #0C4725 #157B41 #1EAF5D #2FDB79

Accessibility & contrast

On white

5.33
#157B41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#157B41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B41
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B41#FFFFFF#000000##FFFFFF
##157B411.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703D
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b41;
/* rgb */ color: rgb(21, 123, 65);
/* oklch */ color: oklch(51.4% 0.127 152.3);
Tailwind
colors: {
  custom: {
    50: '#66a276',
    500: '#157b41',
    950: '#000000',
  },
}
SCSS
$custom: #157b41;
$custom-light: #66a276;
$custom-dark: #000000;
JSON
{
  "hex": "#157b41",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 65
  },
  "hsl": {
    "h": 145.882,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51376,
    "c": 0.1265,
    "h": 152.3
  },
  "luminance": 0.14707
}

Semantic roles & 50–950 ramp

primary
#157B41
secondary
#B03B7E
accent
#3AA0EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157B41

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

Preview Lab → · Contrast checker → · Palette generator →

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