#157B2A#157B2A

#157B2A is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.147 H 145.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#157B2A
RGBrgb(21, 123, 42)
HSLhsl(132, 71%, 28%)
HSVhsv(132, 83%, 48%)
CMYKcmyk(82.9%, 0%, 65.9%, 51.8%)
CIE-LABlab(44.93, -45.26, 35.52)
CIE-LCHlch(44.93, 57.53, 141.88°)
OKLaboklab(51.03% -0.1219 0.0829)
OKLCHoklch(51.03% 0.147 145.8)
XYZxyz(7.8096, 14.4916, 4.5756)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B2A #7B1566
analogous
#337B15 #157B2A #157B5D
triadic
#157B2A #2A157B #7B2A15
tetradic
#157B2A #15337B #7B1566 #7B5D15
square
#157B2A #15337B #7B1566 #7B5D15
split-complementary
#157B2A #5D157B #7B1533
monochromatic
#041A09 #0C4718 #157B2A #1EAF3C #2FDB52

Accessibility & contrast

On white

5.39
#157B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#157B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B2A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B2A#FFFFFF#000000##FFFFFF
##157B2A1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F20
Deuteranopia (green-blind)
#726731
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b2a;
/* rgb */ color: rgb(21, 123, 42);
/* oklch */ color: oklch(51.0% 0.147 145.8);
Tailwind
colors: {
  custom: {
    50: '#67a267',
    500: '#157b2a',
    950: '#000000',
  },
}
SCSS
$custom: #157b2a;
$custom-light: #67a267;
$custom-dark: #000000;
JSON
{
  "hex": "#157b2a",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 132.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.14741,
    "h": 145.8
  },
  "luminance": 0.14493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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