#157E36#157E36

#157E36 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.141 H 148.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#157E36
RGBrgb(21, 126, 54)
HSLhsl(139, 71%, 29%)
HSVhsv(139, 83%, 49%)
CMYKcmyk(83.3%, 0%, 57.1%, 50.6%)
CIE-LABlab(46.10, -44.67, 30.94)
CIE-LCHlch(46.10, 54.34, 145.29°)
OKLaboklab(52.05% -0.1199 0.074)
OKLCHoklch(52.05% 0.141 148.3)
XYZxyz(8.4353, 15.3464, 6.0069)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E36 #7E155D
analogous
#297E15 #157E36 #157E6B
triadic
#157E36 #36157E #7E3615
tetradic
#157E36 #15297E #7E155D #7E6B15
square
#157E36 #15297E #7E155D #7E6B15
split-complementary
#157E36 #6B157E #7E1529
monochromatic
#041A0B #0C4A20 #157E36 #1EB24C #31DD67

Accessibility & contrast

On white

5.16
#157E36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157E36
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E36#FFFFFF#000000##FFFFFF
##157E361.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157e36;
/* rgb */ color: rgb(21, 126, 54);
/* oklch */ color: oklch(52.1% 0.141 148.3);
Tailwind
colors: {
  custom: {
    50: '#67a46f',
    500: '#157e36',
    950: '#000000',
  },
}
SCSS
$custom: #157e36;
$custom-light: #67a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#157e36",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 54
  },
  "hsl": {
    "h": 138.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.14095,
    "h": 148.3
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#157E36
secondary
#B33C8E
accent
#3AB5EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157E36

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

Preview Lab → · Contrast checker → · Palette generator →

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