#157E3C#157E3C

#157E3C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.135 H 150.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#157E3C
RGBrgb(21, 126, 60)
HSLhsl(142, 71%, 29%)
HSVhsv(142, 83%, 49%)
CMYKcmyk(83.3%, 0%, 52.4%, 50.6%)
CIE-LABlab(46.19, -43.70, 27.89)
CIE-LCHlch(46.19, 51.84, 147.46°)
OKLaboklab(52.14% -0.1173 0.0676)
OKLCHoklch(52.14% 0.135 150)
XYZxyz(8.5850, 15.4063, 6.7953)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E3C #7E1557
analogous
#227E15 #157E3C #157E71
triadic
#157E3C #3C157E #7E3C15
tetradic
#157E3C #15227E #7E1557 #7E7115
square
#157E3C #15227E #7E1557 #7E7115
split-complementary
#157E3C #71157E #7E1522
monochromatic
#041A0C #0C4A23 #157E3C #1EB255 #31DD71

Accessibility & contrast

On white

5.15
#157E3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#157E3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E3C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E3C#FFFFFF#000000##FFFFFF
##157E3C1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157e3c;
/* rgb */ color: rgb(21, 126, 60);
/* oklch */ color: oklch(52.1% 0.135 150.0);
Tailwind
colors: {
  custom: {
    50: '#67a473',
    500: '#157e3c',
    950: '#000000',
  },
}
SCSS
$custom: #157e3c;
$custom-light: #67a473;
$custom-dark: #000000;
JSON
{
  "hex": "#157e3c",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 60
  },
  "hsl": {
    "h": 142.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.13538,
    "h": 150
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

primary
#157E3C
secondary
#B33C87
accent
#3AABEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157E3C

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

Preview Lab → · Contrast checker → · Palette generator →

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