#157B1C#157B1C

#157B1C is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.157 H 143.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#157B1C
RGBrgb(21, 123, 28)
HSLhsl(124, 71%, 28%)
HSVhsv(124, 83%, 48%)
CMYKcmyk(82.9%, 0%, 77.2%, 51.8%)
CIE-LABlab(44.81, -46.70, 41.39)
CIE-LCHlch(44.81, 62.40, 138.45°)
OKLaboklab(50.9% -0.1264 0.0935)
OKLCHoklch(50.9% 0.157 143.5)
XYZxyz(7.6013, 14.4083, 3.4788)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B1C #7B1574
analogous
#417B15 #157B1C #157B4F
triadic
#157B1C #1C157B #7B1C15
tetradic
#157B1C #15417B #7B1574 #7B4F15
square
#157B1C #15417B #7B1574 #7B4F15
split-complementary
#157B1C #4F157B #7B1541
monochromatic
#041A06 #0C4710 #157B1C #1EAF28 #2FDB3B

Accessibility & contrast

On white

5.41
#157B1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#157B1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B1C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B1C#FFFFFF#000000##FFFFFF
##157B1C1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F09
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b1c;
/* rgb */ color: rgb(21, 123, 28);
/* oklch */ color: oklch(50.9% 0.157 143.5);
Tailwind
colors: {
  custom: {
    50: '#68a25f',
    500: '#157b1c',
    950: '#000000',
  },
}
SCSS
$custom: #157b1c;
$custom-light: #68a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#157b1c",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 124.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50896,
    "c": 0.15726,
    "h": 143.5
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#157B1C
secondary
#B03BA8
accent
#3AE1EE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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