#157017#157017

#157017 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.147 H 143.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#157017
RGBrgb(21, 112, 23)
HSLhsl(121, 68%, 26%)
HSVhsv(121, 81%, 44%)
CMYKcmyk(81.2%, 0%, 79.5%, 56.1%)
CIE-LABlab(40.91, -43.41, 39.37)
CIE-LCHlch(40.91, 58.60, 137.79°)
OKLaboklab(47.64% -0.1177 0.0886)
OKLCHoklch(47.64% 0.147 143)
XYZxyz(6.2577, 11.8089, 2.7600)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157017 #70156E
analogous
#407015 #157017 #157044
triadic
#157017 #171570 #701715
tetradic
#157017 #154070 #70156E #704415
square
#157017 #154070 #70156E #704415
split-complementary
#157017 #441570 #701540
monochromatic
#051A05 #0B3C0C #157017 #1FA422 #29D72C

Accessibility & contrast

On white

6.25
#157017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#157017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157017
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157017#FFFFFF#000000##FFFFFF
##1570171.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #157017;
/* rgb */ color: rgb(21, 112, 23);
/* oklch */ color: oklch(47.6% 0.147 143.0);
Tailwind
colors: {
  custom: {
    50: '#659a5b',
    500: '#157017',
    950: '#000000',
  },
}
SCSS
$custom: #157017;
$custom-light: #659a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#157017",
  "rgb": {
    "r": 21,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 121.319,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47641,
    "c": 0.14733,
    "h": 143
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#157017
secondary
#A63BA4
accent
#3DE7EB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157017

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

Preview Lab → · Contrast checker → · Palette generator →

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