#157C1D#157C1D

#157C1D is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.158 H 143.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#157C1D
RGBrgb(21, 124, 29)
HSLhsl(125, 71%, 28%)
HSVhsv(125, 83%, 49%)
CMYKcmyk(83.1%, 0%, 76.6%, 51.4%)
CIE-LABlab(45.17, -46.95, 41.36)
CIE-LCHlch(45.17, 62.57, 138.62°)
OKLaboklab(51.19% -0.1271 0.0936)
OKLCHoklch(51.19% 0.158 143.6)
XYZxyz(7.7382, 14.6625, 3.5845)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C1D #7C1574
analogous
#407C15 #157C1D #157C50
triadic
#157C1D #1D157C #7C1D15
tetradic
#157C1D #15407C #7C1574 #7C5015
square
#157C1D #15407C #7C1574 #7C5015
split-complementary
#157C1D #50157C #7C1540
monochromatic
#041A06 #0C4811 #157C1D #1EB029 #30DC3D

Accessibility & contrast

On white

5.34
#157C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#157C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C1D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C1D#FFFFFF#000000##FFFFFF
##157C1D1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700B
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c1d;
/* rgb */ color: rgb(21, 124, 29);
/* oklch */ color: oklch(51.2% 0.158 143.6);
Tailwind
colors: {
  custom: {
    50: '#68a360',
    500: '#157c1d',
    950: '#000000',
  },
}
SCSS
$custom: #157c1d;
$custom-light: #68a360;
$custom-dark: #000000;
JSON
{
  "hex": "#157c1d",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 124.66,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.15781,
    "h": 143.6
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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