#157F3A#157F3A

#157F3A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.139 H 149.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#157F3A
RGBrgb(21, 127, 58)
HSLhsl(141, 72%, 29%)
HSVhsv(141, 83%, 50%)
CMYKcmyk(83.5%, 0%, 54.3%, 50.2%)
CIE-LABlab(46.50, -44.40, 29.34)
CIE-LCHlch(46.50, 53.22, 146.55°)
OKLaboklab(52.4% -0.1192 0.0707)
OKLCHoklch(52.4% 0.139 149.3)
XYZxyz(8.6616, 15.6426, 6.5650)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F3A #7F155A
analogous
#257F15 #157F3A #157F6F
triadic
#157F3A #3A157F #7F3A15
tetradic
#157F3A #15257F #7F155A #7F6F15
square
#157F3A #15257F #7F155A #7F6F15
split-complementary
#157F3A #6F157F #7F1525
monochromatic
#041A0C #0C4A22 #157F3A #1EB452 #31DD6D

Accessibility & contrast

On white

5.09
#157F3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#157F3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F3A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F3A#FFFFFF#000000##FFFFFF
##157F3A1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807334
Deuteranopia (green-blind)
#746B3F
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f3a;
/* rgb */ color: rgb(21, 127, 58);
/* oklch */ color: oklch(52.4% 0.139 149.3);
Tailwind
colors: {
  custom: {
    50: '#67a572',
    500: '#157f3a',
    950: '#000000',
  },
}
SCSS
$custom: #157f3a;
$custom-light: #67a572;
$custom-dark: #000000;
JSON
{
  "hex": "#157f3a",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 58
  },
  "hsl": {
    "h": 140.943,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.13859,
    "h": 149.3
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#157F3A
secondary
#B43C8A
accent
#39AFEE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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