#157F32#157F32

#157F32 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.146 H 147.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#157F32
RGBrgb(21, 127, 50)
HSLhsl(136, 72%, 29%)
HSVhsv(136, 83%, 50%)
CMYKcmyk(83.5%, 0%, 60.6%, 50.2%)
CIE-LABlab(46.40, -45.61, 33.32)
CIE-LCHlch(46.40, 56.48, 143.85°)
OKLaboklab(52.28% -0.1226 0.0789)
OKLCHoklch(52.28% 0.146 147.2)
XYZxyz(8.4737, 15.5674, 5.5752)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F32 #7F1562
analogous
#2D7F15 #157F32 #157F67
triadic
#157F32 #32157F #7F3215
tetradic
#157F32 #152D7F #7F1562 #7F6715
square
#157F32 #152D7F #7F1562 #7F6715
split-complementary
#157F32 #67157F #7F152D
monochromatic
#041A0A #0C4A1D #157F32 #1EB447 #31DD60

Accessibility & contrast

On white

5.11
#157F32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#157F32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F32
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F32#FFFFFF#000000##FFFFFF
##157F321.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732A
Deuteranopia (green-blind)
#756B38
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f32;
/* rgb */ color: rgb(21, 127, 50);
/* oklch */ color: oklch(52.3% 0.146 147.2);
Tailwind
colors: {
  custom: {
    50: '#68a56c',
    500: '#157f32',
    950: '#000000',
  },
}
SCSS
$custom: #157f32;
$custom-light: #68a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#157f32",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 50
  },
  "hsl": {
    "h": 136.415,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.14579,
    "h": 147.2
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#157F32
secondary
#B43C93
accent
#39BDEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157F32

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

Preview Lab → · Contrast checker → · Palette generator →

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