#157112#157112

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

Color values

HEX#157112
RGBrgb(21, 113, 18)
HSLhsl(118, 73%, 26%)
HSVhsv(118, 84%, 44%)
CMYKcmyk(81.4%, 0%, 84.1%, 55.7%)
CIE-LABlab(41.24, -44.11, 41.41)
CIE-LCHlch(41.24, 60.50, 136.81°)
OKLaboklab(47.9% -0.1199 0.0921)
OKLCHoklch(47.9% 0.151 142.5)
XYZxyz(6.3232, 12.0126, 2.5576)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157112 #6E1271
analogous
#447112 #157112 #12713E
triadic
#157112 #121571 #711215
tetradic
#157112 #124471 #6E1271 #713E12
square
#157112 #124471 #6E1271 #713E12
split-complementary
#157112 #3E1271 #711244
monochromatic
#051A04 #0B3C0A #157112 #1FA61A #29DB23

Accessibility & contrast

On white

6.17
#157112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#157112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157112
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157112#FFFFFF#000000##FFFFFF
##1571121.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157112;
/* rgb */ color: rgb(21, 113, 18);
/* oklch */ color: oklch(47.9% 0.151 142.5);
Tailwind
colors: {
  custom: {
    50: '#659b59',
    500: '#157112',
    950: '#000000',
  },
}
SCSS
$custom: #157112;
$custom-light: #659b59;
$custom-dark: #000000;
JSON
{
  "hex": "#157112",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 118.105,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47902,
    "c": 0.15115,
    "h": 142.5
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#157112
secondary
#A437A8
accent
#39EFE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157112

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

Preview Lab → · Contrast checker → · Palette generator →

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