#157C1A#157C1A

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

Color values

HEX#157C1A
RGBrgb(21, 124, 26)
HSLhsl(123, 71%, 28%)
HSVhsv(123, 83%, 49%)
CMYKcmyk(83.1%, 0%, 79%, 51.4%)
CIE-LABlab(45.15, -47.20, 42.46)
CIE-LCHlch(45.15, 63.48, 138.03°)
OKLaboklab(51.17% -0.1279 0.0954)
OKLCHoklch(51.17% 0.16 143.3)
XYZxyz(7.7029, 14.6484, 3.3985)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C1A #7C1577
analogous
#437C15 #157C1A #157C4D
triadic
#157C1A #1A157C #7C1A15
tetradic
#157C1A #15437C #7C1577 #7C4D15
square
#157C1A #15437C #7C1577 #7C4D15
split-complementary
#157C1A #4D157C #7C1543
monochromatic
#041A05 #0C480F #157C1A #1EB025 #30DC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157C1A#FFFFFF#000000##FFFFFF
##157C1A1.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)
#7F6F04
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c1a;
/* rgb */ color: rgb(21, 124, 26);
/* oklch */ color: oklch(51.2% 0.160 143.3);
Tailwind
colors: {
  custom: {
    50: '#68a35e',
    500: '#157c1a',
    950: '#000000',
  },
}
SCSS
$custom: #157c1a;
$custom-light: #68a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#157c1a",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 122.913,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.15957,
    "h": 143.3
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#157C1A
secondary
#B13CAC
accent
#3AE5EE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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