#157917#157917

#157917 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.158 H 143.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#157917
RGBrgb(21, 121, 23)
HSLhsl(121, 70%, 28%)
HSVhsv(121, 83%, 47%)
CMYKcmyk(82.6%, 0%, 81%, 52.5%)
CIE-LABlab(44.08, -46.43, 42.47)
CIE-LCHlch(44.08, 62.93, 137.55°)
OKLaboklab(50.28% -0.1259 0.095)
OKLCHoklch(50.28% 0.158 143)
XYZxyz(7.3008, 13.8952, 3.1077)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157917 #791577
analogous
#457915 #157917 #157949
triadic
#157917 #171579 #791715
tetradic
#157917 #154579 #791577 #794915
square
#157917 #154579 #791577 #794915
split-complementary
#157917 #491579 #791545
monochromatic
#051A05 #0C450D #157917 #1EAD21 #2EDB31

Accessibility & contrast

On white

5.56
#157917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#157917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157917
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157917#FFFFFF#000000##FFFFFF
##1579171.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157917;
/* rgb */ color: rgb(21, 121, 23);
/* oklch */ color: oklch(50.3% 0.158 143.0);
Tailwind
colors: {
  custom: {
    50: '#67a15c',
    500: '#157917',
    950: '#000000',
  },
}
SCSS
$custom: #157917;
$custom-light: #67a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#157917",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 121.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50279,
    "c": 0.15777,
    "h": 143
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#157917
secondary
#AF3BAC
accent
#3BEAED
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157917

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

Preview Lab → · Contrast checker → · Palette generator →

#157917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva