#157117#157117

#157117 is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.148 H 143.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#157117
RGBrgb(21, 113, 23)
HSLhsl(121, 69%, 26%)
HSVhsv(121, 81%, 44%)
CMYKcmyk(81.4%, 0%, 79.6%, 55.7%)
CIE-LABlab(41.27, -43.75, 39.72)
CIE-LCHlch(41.27, 59.09, 137.76°)
OKLaboklab(47.94% -0.1186 0.0893)
OKLCHoklch(47.94% 0.149 143)
XYZxyz(6.3686, 12.0308, 2.7970)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157117 #71156F
analogous
#417115 #157117 #157145
triadic
#157117 #171571 #711715
tetradic
#157117 #154171 #71156F #714515
square
#157117 #154171 #71156F #714515
split-complementary
#157117 #451571 #711541
monochromatic
#051A05 #0B3D0C #157117 #1FA522 #29D72D

Accessibility & contrast

On white

6.16
#157117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#157117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157117
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157117#FFFFFF#000000##FFFFFF
##1571171.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #157117;
/* rgb */ color: rgb(21, 113, 23);
/* oklch */ color: oklch(47.9% 0.148 143.0);
Tailwind
colors: {
  custom: {
    50: '#659b5b',
    500: '#157117',
    950: '#000000',
  },
}
SCSS
$custom: #157117;
$custom-light: #659b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#157117",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 121.304,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47935,
    "c": 0.1485,
    "h": 143
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#157117
secondary
#A73BA5
accent
#3CE8EB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157117

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

Preview Lab → · Contrast checker → · Palette generator →

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