#157F3E#157F3E

#157F3E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.135 H 150.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#157F3E
RGBrgb(21, 127, 62)
HSLhsl(143, 72%, 29%)
HSVhsv(143, 83%, 50%)
CMYKcmyk(83.5%, 0%, 51.2%, 50.2%)
CIE-LABlab(46.56, -43.73, 27.28)
CIE-LCHlch(46.56, 51.54, 148.05°)
OKLaboklab(52.46% -0.1174 0.0663)
OKLCHoklch(52.46% 0.135 150.5)
XYZxyz(8.7674, 15.6849, 7.1219)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F3E #7F1556
analogous
#217F15 #157F3E #157F73
triadic
#157F3E #3E157F #7F3E15
tetradic
#157F3E #15217F #7F1556 #7F7315
square
#157F3E #15217F #7F1556 #7F7315
split-complementary
#157F3E #73157F #7F1521
monochromatic
#041A0D #0C4A24 #157F3E #1EB458 #31DD74

Accessibility & contrast

On white

5.08
#157F3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#157F3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F3E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F3E#FFFFFF#000000##FFFFFF
##157F3E1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807339
Deuteranopia (green-blind)
#746B43
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f3e;
/* rgb */ color: rgb(21, 127, 62);
/* oklch */ color: oklch(52.5% 0.135 150.5);
Tailwind
colors: {
  custom: {
    50: '#67a574',
    500: '#157f3e',
    950: '#000000',
  },
}
SCSS
$custom: #157f3e;
$custom-light: #67a574;
$custom-dark: #000000;
JSON
{
  "hex": "#157f3e",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 62
  },
  "hsl": {
    "h": 143.208,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.13482,
    "h": 150.5
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#157F3E
secondary
#B43C86
accent
#39A8EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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