#157A36#157A36

#157A36 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.136 H 148.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#157A36
RGBrgb(21, 122, 54)
HSLhsl(140, 71%, 28%)
HSVhsv(140, 83%, 48%)
CMYKcmyk(82.8%, 0%, 55.7%, 52.2%)
CIE-LABlab(44.72, -43.22, 29.27)
CIE-LCHlch(44.72, 52.19, 145.89°)
OKLaboklab(50.9% -0.116 0.0703)
OKLCHoklch(50.9% 0.136 148.8)
XYZxyz(7.9340, 14.3439, 5.8398)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A36 #7A1559
analogous
#267A15 #157A36 #157A68
triadic
#157A36 #36157A #7A3615
tetradic
#157A36 #15267A #7A1559 #7A6815
square
#157A36 #15267A #7A1559 #7A6815
split-complementary
#157A36 #68157A #7A1526
monochromatic
#041A0C #0C461F #157A36 #1EAE4D #2EDB67

Accessibility & contrast

On white

5.43
#157A36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#157A36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A36
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A36#FFFFFF#000000##FFFFFF
##157A361.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F30
Deuteranopia (green-blind)
#70673B
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157a36;
/* rgb */ color: rgb(21, 122, 54);
/* oklch */ color: oklch(50.9% 0.136 148.8);
Tailwind
colors: {
  custom: {
    50: '#66a16f',
    500: '#157a36',
    950: '#000000',
  },
}
SCSS
$custom: #157a36;
$custom-light: #66a16f;
$custom-dark: #000000;
JSON
{
  "hex": "#157a36",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 54
  },
  "hsl": {
    "h": 139.604,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50904,
    "c": 0.1357,
    "h": 148.8
  },
  "luminance": 0.14345
}

Semantic roles & 50–950 ramp

primary
#157A36
secondary
#AF3B8A
accent
#3AB3ED
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157A36

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

Preview Lab → · Contrast checker → · Palette generator →

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