#157A2A#157A2A

#157A2A is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.146 H 145.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#157A2A
RGBrgb(21, 122, 42)
HSLhsl(132, 71%, 28%)
HSVhsv(132, 83%, 48%)
CMYKcmyk(82.8%, 0%, 65.6%, 52.2%)
CIE-LABlab(44.58, -44.91, 35.13)
CIE-LCHlch(44.58, 57.02, 141.97°)
OKLaboklab(50.74% -0.1209 0.0821)
OKLCHoklch(50.74% 0.146 145.8)
XYZxyz(7.6861, 14.2447, 4.5345)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A2A #7A1565
analogous
#337A15 #157A2A #157A5C
triadic
#157A2A #2A157A #7A2A15
tetradic
#157A2A #15337A #7A1565 #7A5C15
square
#157A2A #15337A #7A1565 #7A5C15
split-complementary
#157A2A #5C157A #7A1533
monochromatic
#041A09 #0C4618 #157A2A #1EAE3C #2EDB52

Accessibility & contrast

On white

5.46
#157A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157A2A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A2A#FFFFFF#000000##FFFFFF
##157A2A1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157a2a;
/* rgb */ color: rgb(21, 122, 42);
/* oklch */ color: oklch(50.7% 0.146 145.8);
Tailwind
colors: {
  custom: {
    50: '#67a167',
    500: '#157a2a',
    950: '#000000',
  },
}
SCSS
$custom: #157a2a;
$custom-light: #67a167;
$custom-dark: #000000;
JSON
{
  "hex": "#157a2a",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 132.475,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50742,
    "c": 0.14615,
    "h": 145.8
  },
  "luminance": 0.14246
}

Semantic roles & 50–950 ramp

primary
#157A2A
secondary
#AF3B97
accent
#3AC8ED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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