#157E31#157E31

#157E31 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.145 H 147.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#157E31
RGBrgb(21, 126, 49)
HSLhsl(136, 71%, 29%)
HSVhsv(136, 83%, 49%)
CMYKcmyk(83.3%, 0%, 61.1%, 50.6%)
CIE-LABlab(46.05, -45.40, 33.40)
CIE-LCHlch(46.05, 56.36, 143.65°)
OKLaboklab(51.98% -0.122 0.079)
OKLCHoklch(51.98% 0.145 147.1)
XYZxyz(8.3238, 15.3019, 5.4200)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E31 #7E1562
analogous
#2E7E15 #157E31 #157E66
triadic
#157E31 #31157E #7E3115
tetradic
#157E31 #152E7E #7E1562 #7E6615
square
#157E31 #152E7E #7E1562 #7E6615
split-complementary
#157E31 #66157E #7E152E
monochromatic
#041A0A #0C4A1D #157E31 #1EB245 #31DD5F

Accessibility & contrast

On white

5.17
#157E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#157E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E31
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E31#FFFFFF#000000##FFFFFF
##157E311.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807229
Deuteranopia (green-blind)
#746A37
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e31;
/* rgb */ color: rgb(21, 126, 49);
/* oklch */ color: oklch(52.0% 0.145 147.1);
Tailwind
colors: {
  custom: {
    50: '#67a46c',
    500: '#157e31',
    950: '#000000',
  },
}
SCSS
$custom: #157e31;
$custom-light: #67a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#157e31",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 136,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.14538,
    "h": 147.1
  },
  "luminance": 0.15303
}

Semantic roles & 50–950 ramp

primary
#157E31
secondary
#B33C93
accent
#3ABEEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157E31

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

Preview Lab → · Contrast checker → · Palette generator →

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