#157F2B#157F2B

#157F2B is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.152 H 145.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#157F2B
RGBrgb(21, 127, 43)
HSLhsl(132, 72%, 29%)
HSVhsv(132, 83%, 50%)
CMYKcmyk(83.5%, 0%, 66.1%, 50.2%)
CIE-LABlab(46.33, -46.52, 36.61)
CIE-LCHlch(46.33, 59.20, 141.80°)
OKLaboklab(52.2% -0.1253 0.0853)
OKLCHoklch(52.2% 0.152 145.7)
XYZxyz(8.3341, 15.5116, 4.8398)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F2B #7F1569
analogous
#347F15 #157F2B #157F60
triadic
#157F2B #2B157F #7F2B15
tetradic
#157F2B #15347F #7F1569 #7F6015
square
#157F2B #15347F #7F1569 #7F6015
split-complementary
#157F2B #60157F #7F1534
monochromatic
#041A09 #0C4A19 #157F2B #1EB43D #31DD55

Accessibility & contrast

On white

5.12
#157F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#157F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F2B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F2B#FFFFFF#000000##FFFFFF
##157F2B1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817321
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f2b;
/* rgb */ color: rgb(21, 127, 43);
/* oklch */ color: oklch(52.2% 0.152 145.7);
Tailwind
colors: {
  custom: {
    50: '#68a568',
    500: '#157f2b',
    950: '#000000',
  },
}
SCSS
$custom: #157f2b;
$custom-light: #68a568;
$custom-dark: #000000;
JSON
{
  "hex": "#157f2b",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 132.453,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52195,
    "c": 0.15158,
    "h": 145.7
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#157F2B
secondary
#B43C9B
accent
#39C9EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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