#157E34#157E34

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

Color values

HEX#157E34
RGBrgb(21, 126, 52)
HSLhsl(138, 71%, 29%)
HSVhsv(138, 83%, 49%)
CMYKcmyk(83.3%, 0%, 58.7%, 50.6%)
CIE-LABlab(46.08, -44.97, 31.94)
CIE-LCHlch(46.08, 55.15, 144.62°)
OKLaboklab(52.02% -0.1208 0.0761)
OKLCHoklch(52.02% 0.143 147.8)
XYZxyz(8.3893, 15.3280, 5.7646)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E34 #7E155F
analogous
#2B7E15 #157E34 #157E69
triadic
#157E34 #34157E #7E3415
tetradic
#157E34 #152B7E #7E155F #7E6915
square
#157E34 #152B7E #7E155F #7E6915
split-complementary
#157E34 #69157E #7E152B
monochromatic
#041A0B #0C4A1E #157E34 #1EB24A #31DD64

Accessibility & contrast

On white

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

On black

4.07
#157E34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157E34#FFFFFF#000000##FFFFFF
##157E341.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722D
Deuteranopia (green-blind)
#746A3A
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e34;
/* rgb */ color: rgb(21, 126, 52);
/* oklch */ color: oklch(52.0% 0.143 147.8);
Tailwind
colors: {
  custom: {
    50: '#67a46e',
    500: '#157e34',
    950: '#000000',
  },
}
SCSS
$custom: #157e34;
$custom-light: #67a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#157e34",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 137.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.14275,
    "h": 147.8
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#157E34
secondary
#B33C90
accent
#3AB9EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157E34

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

Preview Lab → · Contrast checker → · Palette generator →

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