#157A19#157A19

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

Color values

HEX#157A19
RGBrgb(21, 122, 25)
HSLhsl(122, 71%, 28%)
HSVhsv(122, 83%, 48%)
CMYKcmyk(82.8%, 0%, 79.5%, 52.2%)
CIE-LABlab(44.44, -46.61, 42.12)
CIE-LCHlch(44.44, 62.83, 137.90°)
OKLaboklab(50.58% -0.1263 0.0946)
OKLCHoklch(50.58% 0.158 143.2)
XYZxyz(7.4438, 14.1478, 3.2580)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A19 #7A1576
analogous
#437A15 #157A19 #157A4B
triadic
#157A19 #19157A #7A1915
tetradic
#157A19 #15437A #7A1576 #7A4B15
square
#157A19 #15437A #7A1576 #7A4B15
split-complementary
#157A19 #4B157A #7A1543
monochromatic
#041A05 #0C460E #157A19 #1EAE24 #2EDB35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157A19#FFFFFF#000000##FFFFFF
##157A191.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)
#7D6E03
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a19;
/* rgb */ color: rgb(21, 122, 25);
/* oklch */ color: oklch(50.6% 0.158 143.2);
Tailwind
colors: {
  custom: {
    50: '#67a25e',
    500: '#157a19',
    950: '#000000',
  },
}
SCSS
$custom: #157a19;
$custom-light: #67a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#157a19",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 122.376,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50584,
    "c": 0.15783,
    "h": 143.2
  },
  "luminance": 0.14149
}

Semantic roles & 50–950 ramp

primary
#157A19
secondary
#AF3BAB
accent
#3AE6ED
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157A19

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

Preview Lab → · Contrast checker → · Palette generator →

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