#157E1D#157E1D

#157E1D is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.160 H 143.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#157E1D
RGBrgb(21, 126, 29)
HSLhsl(125, 71%, 29%)
HSVhsv(125, 83%, 49%)
CMYKcmyk(83.3%, 0%, 77%, 50.6%)
CIE-LABlab(45.86, -47.61, 42.06)
CIE-LCHlch(45.86, 63.53, 138.54°)
OKLaboklab(51.77% -0.1289 0.0951)
OKLCHoklch(51.77% 0.16 143.6)
XYZxyz(7.9914, 15.1689, 3.6689)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E1D #7E1576
analogous
#427E15 #157E1D #157E52
triadic
#157E1D #1D157E #7E1D15
tetradic
#157E1D #15427E #7E1576 #7E5215
square
#157E1D #15427E #7E1576 #7E5215
split-complementary
#157E1D #52157E #7E1542
monochromatic
#041A06 #0C4A11 #157E1D #1EB229 #31DD3E

Accessibility & contrast

On white

5.21
#157E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#157E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E1D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E1D#FFFFFF#000000##FFFFFF
##157E1D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817109
Deuteranopia (green-blind)
#756A28
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e1d;
/* rgb */ color: rgb(21, 126, 29);
/* oklch */ color: oklch(51.8% 0.160 143.6);
Tailwind
colors: {
  custom: {
    50: '#68a460',
    500: '#157e1d',
    950: '#000000',
  },
}
SCSS
$custom: #157e1d;
$custom-light: #68a460;
$custom-dark: #000000;
JSON
{
  "hex": "#157e1d",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 124.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51774,
    "c": 0.16014,
    "h": 143.6
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#157E1D
secondary
#B33CAA
accent
#3AE0EE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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