#157F1D#157F1D

#157F1D is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.161 H 143.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#157F1D
RGBrgb(21, 127, 29)
HSLhsl(125, 72%, 29%)
HSVhsv(125, 83%, 50%)
CMYKcmyk(83.5%, 0%, 77.2%, 50.2%)
CIE-LABlab(46.21, -47.94, 42.41)
CIE-LCHlch(46.21, 64.01, 138.50°)
OKLaboklab(52.06% -0.1298 0.0958)
OKLCHoklch(52.06% 0.161 143.6)
XYZxyz(8.1199, 15.4259, 3.7117)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F1D #7F1577
analogous
#427F15 #157F1D #157F52
triadic
#157F1D #1D157F #7F1D15
tetradic
#157F1D #15427F #7F1577 #7F5215
square
#157F1D #15427F #7F1577 #7F5215
split-complementary
#157F1D #52157F #7F1542
monochromatic
#041A06 #0C4A11 #157F1D #1EB429 #31DD3E

Accessibility & contrast

On white

5.14
#157F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#157F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F1D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F1D#FFFFFF#000000##FFFFFF
##157F1D1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157f1d;
/* rgb */ color: rgb(21, 127, 29);
/* oklch */ color: oklch(52.1% 0.161 143.6);
Tailwind
colors: {
  custom: {
    50: '#69a560',
    500: '#157f1d',
    950: '#000000',
  },
}
SCSS
$custom: #157f1d;
$custom-light: #69a560;
$custom-dark: #000000;
JSON
{
  "hex": "#157f1d",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 124.528,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52063,
    "c": 0.16128,
    "h": 143.6
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#157F1D
secondary
#B43CAB
accent
#39E1EE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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