#157D1D#157D1D

#157D1D is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.159 H 143.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#157D1D
RGBrgb(21, 125, 29)
HSLhsl(125, 71%, 29%)
HSVhsv(125, 83%, 49%)
CMYKcmyk(83.2%, 0%, 76.8%, 51%)
CIE-LABlab(45.52, -47.28, 41.71)
CIE-LCHlch(45.52, 63.05, 138.58°)
OKLaboklab(51.48% -0.128 0.0943)
OKLCHoklch(51.48% 0.159 143.6)
XYZxyz(7.8641, 14.9144, 3.6265)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D1D #7D1575
analogous
#417D15 #157D1D #157D51
triadic
#157D1D #1D157D #7D1D15
tetradic
#157D1D #15417D #7D1575 #7D5115
square
#157D1D #15417D #7D1575 #7D5115
split-complementary
#157D1D #51157D #7D1541
monochromatic
#041A06 #0C4911 #157D1D #1EB129 #30DC3D

Accessibility & contrast

On white

5.27
#157D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#157D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D1D
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D1D#FFFFFF#000000##FFFFFF
##157D1D1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80700A
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d1d;
/* rgb */ color: rgb(21, 125, 29);
/* oklch */ color: oklch(51.5% 0.159 143.6);
Tailwind
colors: {
  custom: {
    50: '#68a460',
    500: '#157d1d',
    950: '#000000',
  },
}
SCSS
$custom: #157d1d;
$custom-light: #68a460;
$custom-dark: #000000;
JSON
{
  "hex": "#157d1d",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 124.615,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51484,
    "c": 0.15898,
    "h": 143.6
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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