#157A2C#157A2C

#157A2C is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.145 H 146.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#157A2C
RGBrgb(21, 122, 44)
HSLhsl(134, 71%, 28%)
HSVhsv(134, 83%, 48%)
CMYKcmyk(82.8%, 0%, 63.9%, 52.2%)
CIE-LABlab(44.60, -44.66, 34.19)
CIE-LCHlch(44.60, 56.24, 142.56°)
OKLaboklab(50.77% -0.1202 0.0803)
OKLCHoklch(50.77% 0.145 146.3)
XYZxyz(7.7228, 14.2594, 4.7277)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A2C #7A1563
analogous
#317A15 #157A2C #157A5E
triadic
#157A2C #2C157A #7A2C15
tetradic
#157A2C #15317A #7A1563 #7A5E15
square
#157A2C #15317A #7A1563 #7A5E15
split-complementary
#157A2C #5E157A #7A1531
monochromatic
#041A09 #0C4619 #157A2C #1EAE3F #2EDB56

Accessibility & contrast

On white

5.45
#157A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#157A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A2C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A2C#FFFFFF#000000##FFFFFF
##157A2C1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E23
Deuteranopia (green-blind)
#716633
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a2c;
/* rgb */ color: rgb(21, 122, 44);
/* oklch */ color: oklch(50.8% 0.145 146.3);
Tailwind
colors: {
  custom: {
    50: '#66a168',
    500: '#157a2c',
    950: '#000000',
  },
}
SCSS
$custom: #157a2c;
$custom-light: #66a168;
$custom-dark: #000000;
JSON
{
  "hex": "#157a2c",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 133.663,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50766,
    "c": 0.14452,
    "h": 146.3
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#157A2C
secondary
#AF3B95
accent
#3AC5ED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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