#157A1A#157A1A

#157A1A is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.6% C 0.157 H 143.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#157A1A
RGBrgb(21, 122, 26)
HSLhsl(123, 71%, 28%)
HSVhsv(123, 83%, 48%)
CMYKcmyk(82.8%, 0%, 78.7%, 52.2%)
CIE-LABlab(44.45, -46.53, 41.77)
CIE-LCHlch(44.45, 62.53, 138.09°)
OKLaboklab(50.59% -0.1261 0.094)
OKLCHoklch(50.59% 0.157 143.3)
XYZxyz(7.4548, 14.1522, 3.3158)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A1A #7A1575
analogous
#437A15 #157A1A #157A4C
triadic
#157A1A #1A157A #7A1A15
tetradic
#157A1A #15437A #7A1575 #7A4C15
square
#157A1A #15437A #7A1575 #7A4C15
split-complementary
#157A1A #4C157A #7A1543
monochromatic
#041A06 #0C460F #157A1A #1EAE25 #2EDB37

Accessibility & contrast

On white

5.48
#157A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#157A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A1A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A1A#FFFFFF#000000##FFFFFF
##157A1A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a1a;
/* rgb */ color: rgb(21, 122, 26);
/* oklch */ color: oklch(50.6% 0.157 143.3);
Tailwind
colors: {
  custom: {
    50: '#67a15e',
    500: '#157a1a',
    950: '#000000',
  },
}
SCSS
$custom: #157a1a;
$custom-light: #67a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#157a1a",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 122.97,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.15727,
    "h": 143.3
  },
  "luminance": 0.14153
}

Semantic roles & 50–950 ramp

primary
#157A1A
secondary
#AF3BAA
accent
#3AE5ED
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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