#157C3B#157C3B

#157C3B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.134 H 150.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#157C3B
RGBrgb(21, 124, 59)
HSLhsl(142, 71%, 28%)
HSVhsv(142, 83%, 49%)
CMYKcmyk(83.1%, 0%, 52.4%, 51.4%)
CIE-LABlab(45.48, -43.13, 27.55)
CIE-LCHlch(45.48, 51.18, 147.44°)
OKLaboklab(51.56% -0.1158 0.0668)
OKLCHoklch(51.56% 0.134 150)
XYZxyz(8.3056, 14.8895, 6.5730)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C3B #7C1556
analogous
#227C15 #157C3B #157C6E
triadic
#157C3B #3B157C #7C3B15
tetradic
#157C3B #15227C #7C1556 #7C6E15
square
#157C3B #15227C #7C1556 #7C6E15
split-complementary
#157C3B #6E157C #7C1522
monochromatic
#041A0C #0C4822 #157C3B #1EB054 #30DC6F

Accessibility & contrast

On white

5.28
#157C3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#157C3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C3B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C3B#FFFFFF#000000##FFFFFF
##157C3B1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7136
Deuteranopia (green-blind)
#716840
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157c3b;
/* rgb */ color: rgb(21, 124, 59);
/* oklch */ color: oklch(51.6% 0.134 150.0);
Tailwind
colors: {
  custom: {
    50: '#66a372',
    500: '#157c3b',
    950: '#000000',
  },
}
SCSS
$custom: #157c3b;
$custom-light: #66a372;
$custom-dark: #000000;
JSON
{
  "hex": "#157c3b",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 59
  },
  "hsl": {
    "h": 142.136,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51557,
    "c": 0.13366,
    "h": 150
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

primary
#157C3B
secondary
#B13C86
accent
#3AABEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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