#157C19#157C19

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

Color values

HEX#157C19
RGBrgb(21, 124, 25)
HSLhsl(122, 71%, 28%)
HSVhsv(122, 83%, 49%)
CMYKcmyk(83.1%, 0%, 79.8%, 51.4%)
CIE-LABlab(45.14, -47.27, 42.81)
CIE-LCHlch(45.14, 63.77, 137.84°)
OKLaboklab(51.17% -0.1281 0.096)
OKLCHoklch(51.17% 0.16 143.2)
XYZxyz(7.6919, 14.6440, 3.3407)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C19 #7C1578
analogous
#447C15 #157C19 #157C4C
triadic
#157C19 #19157C #7C1915
tetradic
#157C19 #15447C #7C1578 #7C4C15
square
#157C19 #15447C #7C1578 #7C4C15
split-complementary
#157C19 #4C157C #7C1544
monochromatic
#041A05 #0C480E #157C19 #1EB024 #30DC36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157C19#FFFFFF#000000##FFFFFF
##157C191.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)
#7F6F02
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c19;
/* rgb */ color: rgb(21, 124, 25);
/* oklch */ color: oklch(51.2% 0.160 143.2);
Tailwind
colors: {
  custom: {
    50: '#68a35e',
    500: '#157c19',
    950: '#000000',
  },
}
SCSS
$custom: #157c19;
$custom-light: #68a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#157c19",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 122.33,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.16012,
    "h": 143.2
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#157C19
secondary
#B13CAD
accent
#3AE7EE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157C19

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

Preview Lab → · Contrast checker → · Palette generator →

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