#157A2B#157A2B

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

Color values

HEX#157A2B
RGBrgb(21, 122, 43)
HSLhsl(133, 71%, 28%)
HSVhsv(133, 83%, 48%)
CMYKcmyk(82.8%, 0%, 64.8%, 52.2%)
CIE-LABlab(44.59, -44.78, 34.66)
CIE-LCHlch(44.59, 56.63, 142.26°)
OKLaboklab(50.75% -0.1206 0.0812)
OKLCHoklch(50.75% 0.145 146.1)
XYZxyz(7.7043, 14.2520, 4.6299)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A2B #7A1564
analogous
#327A15 #157A2B #157A5D
triadic
#157A2B #2B157A #7A2B15
tetradic
#157A2B #15327A #7A1564 #7A5D15
square
#157A2B #15327A #7A1564 #7A5D15
split-complementary
#157A2B #5D157A #7A1532
monochromatic
#041A09 #0C4619 #157A2B #1EAE3D #2EDB54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157A2B#FFFFFF#000000##FFFFFF
##157A2B1.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)
#7C6E22
Deuteranopia (green-blind)
#716632
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a2b;
/* rgb */ color: rgb(21, 122, 43);
/* oklch */ color: oklch(50.8% 0.145 146.1);
Tailwind
colors: {
  custom: {
    50: '#66a168',
    500: '#157a2b',
    950: '#000000',
  },
}
SCSS
$custom: #157a2b;
$custom-light: #66a168;
$custom-dark: #000000;
JSON
{
  "hex": "#157a2b",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 133.069,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.14534,
    "h": 146.1
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#157A2B
secondary
#AF3B96
accent
#3AC6ED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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