#157C17#157C17

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

Color values

HEX#157C17
RGBrgb(21, 124, 23)
HSLhsl(121, 71%, 28%)
HSVhsv(121, 83%, 49%)
CMYKcmyk(83.1%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.13, -47.42, 43.48)
CIE-LCHlch(45.13, 64.33, 137.48°)
OKLaboklab(51.15% -0.1286 0.0971)
OKLCHoklch(51.15% 0.161 142.9)
XYZxyz(7.6711, 14.6357, 3.2311)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C17 #7C157A
analogous
#467C15 #157C17 #157C4A
triadic
#157C17 #17157C #7C1715
tetradic
#157C17 #15467C #7C157A #7C4A15
square
#157C17 #15467C #7C157A #7C4A15
split-complementary
#157C17 #4A157C #7C1546
monochromatic
#041A05 #0C480D #157C17 #1EB021 #30DC33

Accessibility & contrast

On white

5.35
#157C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157C17
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C17#FFFFFF#000000##FFFFFF
##157C171.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c17;
/* rgb */ color: rgb(21, 124, 23);
/* oklch */ color: oklch(51.2% 0.161 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a35d',
    500: '#157c17',
    950: '#000000',
  },
}
SCSS
$custom: #157c17;
$custom-light: #68a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#157c17",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 121.165,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51151,
    "c": 0.16118,
    "h": 142.9
  },
  "luminance": 0.14637
}

Semantic roles & 50–950 ramp

primary
#157C17
secondary
#B13CAF
accent
#3AEAEE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157C17

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

Preview Lab → · Contrast checker → · Palette generator →

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