#157B32#157B32

#157B32 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.141 H 147.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#157B32
RGBrgb(21, 123, 50)
HSLhsl(137, 71%, 28%)
HSVhsv(137, 83%, 48%)
CMYKcmyk(82.9%, 0%, 59.3%, 51.8%)
CIE-LABlab(45.02, -44.19, 31.69)
CIE-LCHlch(45.02, 54.38, 144.35°)
OKLaboklab(51.13% -0.1187 0.0754)
OKLCHoklch(51.13% 0.141 147.6)
XYZxyz(7.9673, 14.5547, 5.4064)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B32 #7B155E
analogous
#2B7B15 #157B32 #157B65
triadic
#157B32 #32157B #7B3215
tetradic
#157B32 #152B7B #7B155E #7B6515
square
#157B32 #152B7B #7B155E #7B6515
split-complementary
#157B32 #65157B #7B152B
monochromatic
#041A0B #0C471D #157B32 #1EAF47 #2FDB60

Accessibility & contrast

On white

5.37
#157B32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#157B32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B32
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B32#FFFFFF#000000##FFFFFF
##157B321.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2B
Deuteranopia (green-blind)
#716738
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b32;
/* rgb */ color: rgb(21, 123, 50);
/* oklch */ color: oklch(51.1% 0.141 147.6);
Tailwind
colors: {
  custom: {
    50: '#66a26c',
    500: '#157b32',
    950: '#000000',
  },
}
SCSS
$custom: #157b32;
$custom-light: #66a26c;
$custom-dark: #000000;
JSON
{
  "hex": "#157b32",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 50
  },
  "hsl": {
    "h": 137.059,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51133,
    "c": 0.14064,
    "h": 147.6
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#157B32
secondary
#B03B8F
accent
#3ABBEE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157B32

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

Preview Lab → · Contrast checker → · Palette generator →

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