#157C2B#157C2B

#157C2B is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.148 H 145.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#157C2B
RGBrgb(21, 124, 43)
HSLhsl(133, 71%, 28%)
HSVhsv(133, 83%, 49%)
CMYKcmyk(83.1%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.29, -45.48, 35.45)
CIE-LCHlch(45.29, 57.66, 142.07°)
OKLaboklab(51.33% -0.1225 0.0828)
OKLCHoklch(51.33% 0.148 145.9)
XYZxyz(7.9524, 14.7482, 4.7126)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C2B #7C1566
analogous
#327C15 #157C2B #157C5E
triadic
#157C2B #2B157C #7C2B15
tetradic
#157C2B #15327C #7C1566 #7C5E15
square
#157C2B #15327C #7C1566 #7C5E15
split-complementary
#157C2B #5E157C #7C1532
monochromatic
#041A09 #0C4819 #157C2B #1EB03D #30DC54

Accessibility & contrast

On white

5.32
#157C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#157C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C2B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C2B#FFFFFF#000000##FFFFFF
##157C2B1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#736832
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c2b;
/* rgb */ color: rgb(21, 124, 43);
/* oklch */ color: oklch(51.3% 0.148 145.9);
Tailwind
colors: {
  custom: {
    50: '#67a368',
    500: '#157c2b',
    950: '#000000',
  },
}
SCSS
$custom: #157c2b;
$custom-light: #67a368;
$custom-dark: #000000;
JSON
{
  "hex": "#157c2b",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 132.816,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51331,
    "c": 0.14786,
    "h": 145.9
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#157C2B
secondary
#B13C98
accent
#3AC7EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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