#157E3D#157E3D

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

Color values

HEX#157E3D
RGBrgb(21, 126, 61)
HSLhsl(143, 71%, 29%)
HSVhsv(143, 83%, 49%)
CMYKcmyk(83.3%, 0%, 51.6%, 50.6%)
CIE-LABlab(46.20, -43.53, 27.37)
CIE-LCHlch(46.20, 51.42, 147.84°)
OKLaboklab(52.16% -0.1168 0.0665)
OKLCHoklch(52.16% 0.134 150.4)
XYZxyz(8.6117, 15.4170, 6.9359)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E3D #7E1556
analogous
#227E15 #157E3D #157E72
triadic
#157E3D #3D157E #7E3D15
tetradic
#157E3D #15227E #7E1556 #7E7215
square
#157E3D #15227E #7E1556 #7E7215
split-complementary
#157E3D #72157E #7E1522
monochromatic
#041A0D #0C4A24 #157E3D #1EB256 #31DD72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157E3D#FFFFFF#000000##FFFFFF
##157E3D1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157e3d;
/* rgb */ color: rgb(21, 126, 61);
/* oklch */ color: oklch(52.2% 0.134 150.4);
Tailwind
colors: {
  custom: {
    50: '#67a474',
    500: '#157e3d',
    950: '#000000',
  },
}
SCSS
$custom: #157e3d;
$custom-light: #67a474;
$custom-dark: #000000;
JSON
{
  "hex": "#157e3d",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 61
  },
  "hsl": {
    "h": 142.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.13444,
    "h": 150.4
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#157E3D
secondary
#B33C86
accent
#3AA9EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157E3D

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

Preview Lab → · Contrast checker → · Palette generator →

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