#157C2A#157C2A

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

Color values

HEX#157C2A
RGBrgb(21, 124, 42)
HSLhsl(132, 71%, 28%)
HSVhsv(132, 83%, 49%)
CMYKcmyk(83.1%, 0%, 66.1%, 51.4%)
CIE-LABlab(45.28, -45.61, 35.91)
CIE-LCHlch(45.28, 58.05, 141.79°)
OKLaboklab(51.32% -0.1228 0.0837)
OKLCHoklch(51.32% 0.149 145.7)
XYZxyz(7.9342, 14.7409, 4.6172)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C2A #7C1567
analogous
#337C15 #157C2A #157C5D
triadic
#157C2A #2A157C #7C2A15
tetradic
#157C2A #15337C #7C1567 #7C5D15
square
#157C2A #15337C #7C1567 #7C5D15
split-complementary
#157C2A #5D157C #7C1533
monochromatic
#041A09 #0C4818 #157C2A #1EB03C #30DC53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157C2A#FFFFFF#000000##FFFFFF
##157C2A1.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)
#7E7020
Deuteranopia (green-blind)
#736831
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c2a;
/* rgb */ color: rgb(21, 124, 42);
/* oklch */ color: oklch(51.3% 0.149 145.7);
Tailwind
colors: {
  custom: {
    50: '#67a367',
    500: '#157c2a',
    950: '#000000',
  },
}
SCSS
$custom: #157c2a;
$custom-light: #67a367;
$custom-dark: #000000;
JSON
{
  "hex": "#157c2a",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 132.233,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5132,
    "c": 0.14865,
    "h": 145.7
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#157C2A
secondary
#B13C99
accent
#3AC9EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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