#157A1E#157A1E

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

Color values

HEX#157A1E
RGBrgb(21, 122, 30)
HSLhsl(125, 71%, 28%)
HSVhsv(125, 83%, 48%)
CMYKcmyk(82.8%, 0%, 75.4%, 52.2%)
CIE-LABlab(44.48, -46.20, 40.27)
CIE-LCHlch(44.48, 61.28, 138.92°)
OKLaboklab(50.62% -0.125 0.0914)
OKLCHoklch(50.62% 0.155 143.8)
XYZxyz(7.5026, 14.1713, 3.5680)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A1E #7A1571
analogous
#3E7A15 #157A1E #157A51
triadic
#157A1E #1E157A #7A1E15
tetradic
#157A1E #153E7A #7A1571 #7A5115
square
#157A1E #153E7A #7A1571 #7A5115
split-complementary
#157A1E #51157A #7A153E
monochromatic
#041A06 #0C4611 #157A1E #1EAE2B #2EDB3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157A1E#FFFFFF#000000##FFFFFF
##157A1E1.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)
#7D6E0E
Deuteranopia (green-blind)
#726628
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a1e;
/* rgb */ color: rgb(21, 122, 30);
/* oklch */ color: oklch(50.6% 0.155 143.8);
Tailwind
colors: {
  custom: {
    50: '#67a160',
    500: '#157a1e',
    950: '#000000',
  },
}
SCSS
$custom: #157a1e;
$custom-light: #67a160;
$custom-dark: #000000;
JSON
{
  "hex": "#157a1e",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 125.347,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50622,
    "c": 0.15485,
    "h": 143.8
  },
  "luminance": 0.14172
}

Semantic roles & 50–950 ramp

primary
#157A1E
secondary
#AF3BA5
accent
#3ADDED
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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