#157E3E#157E3E

#157E3E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.133 H 150.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#157E3E
RGBrgb(21, 126, 62)
HSLhsl(143, 71%, 29%)
HSVhsv(143, 83%, 49%)
CMYKcmyk(83.3%, 0%, 50.8%, 50.6%)
CIE-LABlab(46.21, -43.36, 26.85)
CIE-LCHlch(46.21, 51.00, 148.24°)
OKLaboklab(52.18% -0.1164 0.0654)
OKLCHoklch(52.18% 0.133 150.7)
XYZxyz(8.6389, 15.4279, 7.0791)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E3E #7E1555
analogous
#207E15 #157E3E #157E73
triadic
#157E3E #3E157E #7E3E15
tetradic
#157E3E #15207E #7E1555 #7E7315
square
#157E3E #15207E #7E1555 #7E7315
split-complementary
#157E3E #73157E #7E1520
monochromatic
#041A0D #0C4A24 #157E3E #1EB258 #31DD74

Accessibility & contrast

On white

5.14
#157E3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#157E3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E3E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E3E#FFFFFF#000000##FFFFFF
##157E3E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7239
Deuteranopia (green-blind)
#736A43
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e3e;
/* rgb */ color: rgb(21, 126, 62);
/* oklch */ color: oklch(52.2% 0.133 150.7);
Tailwind
colors: {
  custom: {
    50: '#67a474',
    500: '#157e3e',
    950: '#000000',
  },
}
SCSS
$custom: #157e3e;
$custom-light: #67a474;
$custom-dark: #000000;
JSON
{
  "hex": "#157e3e",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 62
  },
  "hsl": {
    "h": 143.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.13348,
    "h": 150.7
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

primary
#157E3E
secondary
#B33C84
accent
#3AA8EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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