#157A1C#157A1C

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

Color values

HEX#157A1C
RGBrgb(21, 122, 28)
HSLhsl(124, 71%, 28%)
HSVhsv(124, 83%, 48%)
CMYKcmyk(82.8%, 0%, 77%, 52.2%)
CIE-LABlab(44.46, -46.37, 41.04)
CIE-LCHlch(44.46, 61.92, 138.49°)
OKLaboklab(50.61% -0.1255 0.0928)
OKLCHoklch(50.61% 0.156 143.5)
XYZxyz(7.4779, 14.1614, 3.4377)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A1C #7A1573
analogous
#417A15 #157A1C #157A4E
triadic
#157A1C #1C157A #7A1C15
tetradic
#157A1C #15417A #7A1573 #7A4E15
square
#157A1C #15417A #7A1573 #7A4E15
split-complementary
#157A1C #4E157A #7A1541
monochromatic
#041A06 #0C4610 #157A1C #1EAE28 #2EDB3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157A1C#FFFFFF#000000##FFFFFF
##157A1C1.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)
#7D6E09
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a1c;
/* rgb */ color: rgb(21, 122, 28);
/* oklch */ color: oklch(50.6% 0.156 143.5);
Tailwind
colors: {
  custom: {
    50: '#67a15f',
    500: '#157a1c',
    950: '#000000',
  },
}
SCSS
$custom: #157a1c;
$custom-light: #67a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#157a1c",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 124.158,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.15609,
    "h": 143.5
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

primary
#157A1C
secondary
#AF3BA7
accent
#3AE1ED
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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