#157B3E#157B3E

#157B3E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.129 H 151.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#157B3E
RGBrgb(21, 123, 62)
HSLhsl(144, 71%, 28%)
HSVhsv(144, 83%, 48%)
CMYKcmyk(82.9%, 0%, 49.6%, 51.8%)
CIE-LABlab(45.18, -42.23, 25.54)
CIE-LCHlch(45.18, 49.36, 148.83°)
OKLaboklab(51.32% -0.1134 0.0624)
OKLCHoklch(51.32% 0.129 151.2)
XYZxyz(8.2610, 14.6721, 6.9531)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B3E #7B1552
analogous
#1F7B15 #157B3E #157B71
triadic
#157B3E #3E157B #7B3E15
tetradic
#157B3E #151F7B #7B1552 #7B7115
square
#157B3E #151F7B #7B1552 #7B7115
split-complementary
#157B3E #71157B #7B151F
monochromatic
#041A0D #0C4724 #157B3E #1EAF58 #2FDB74

Accessibility & contrast

On white

5.34
#157B3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#157B3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B3E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B3E#FFFFFF#000000##FFFFFF
##157B3E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157b3e;
/* rgb */ color: rgb(21, 123, 62);
/* oklch */ color: oklch(51.3% 0.129 151.2);
Tailwind
colors: {
  custom: {
    50: '#66a274',
    500: '#157b3e',
    950: '#000000',
  },
}
SCSS
$custom: #157b3e;
$custom-light: #66a274;
$custom-dark: #000000;
JSON
{
  "hex": "#157b3e",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 62
  },
  "hsl": {
    "h": 144.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51322,
    "c": 0.12943,
    "h": 151.2
  },
  "luminance": 0.14673
}

Semantic roles & 50–950 ramp

primary
#157B3E
secondary
#B03B81
accent
#3AA5EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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