#157C1C#157C1C

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

Color values

HEX#157C1C
RGBrgb(21, 124, 28)
HSLhsl(124, 71%, 28%)
HSVhsv(124, 83%, 49%)
CMYKcmyk(83.1%, 0%, 77.4%, 51.4%)
CIE-LABlab(45.16, -47.04, 41.74)
CIE-LCHlch(45.16, 62.88, 138.42°)
OKLaboklab(51.19% -0.1273 0.0942)
OKLCHoklch(51.19% 0.158 143.5)
XYZxyz(7.7260, 14.6576, 3.5204)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C1C #7C1575
analogous
#417C15 #157C1C #157C4F
triadic
#157C1C #1C157C #7C1C15
tetradic
#157C1C #15417C #7C1575 #7C4F15
square
#157C1C #15417C #7C1575 #7C4F15
split-complementary
#157C1C #4F157C #7C1541
monochromatic
#041A06 #0C4810 #157C1C #1EB028 #30DC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157C1C#FFFFFF#000000##FFFFFF
##157C1C1.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)
#7F6F08
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c1c;
/* rgb */ color: rgb(21, 124, 28);
/* oklch */ color: oklch(51.2% 0.158 143.5);
Tailwind
colors: {
  custom: {
    50: '#68a35f',
    500: '#157c1c',
    950: '#000000',
  },
}
SCSS
$custom: #157c1c;
$custom-light: #68a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#157c1c",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 124.078,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51187,
    "c": 0.15842,
    "h": 143.5
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#157C1C
secondary
#B13CA9
accent
#3AE2EE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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