#157211#157211

#157211 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.153 H 142.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#157211
RGBrgb(21, 114, 17)
HSLhsl(118, 74%, 26%)
HSVhsv(118, 85%, 45%)
CMYKcmyk(81.6%, 0%, 85.1%, 55.3%)
CIE-LABlab(41.59, -44.51, 42.04)
CIE-LCHlch(41.59, 61.23, 136.63°)
OKLaboklab(48.19% -0.121 0.0933)
OKLCHoklch(48.19% 0.153 142.4)
XYZxyz(6.4274, 12.2338, 2.5528)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157211 #6E1172
analogous
#457211 #157211 #11723D
triadic
#157211 #111572 #721115
tetradic
#157211 #114572 #6E1172 #723D11
square
#157211 #114572 #6E1172 #723D11
split-complementary
#157211 #3D1172 #721145
monochromatic
#051B04 #0B3D09 #157211 #1FA719 #29DD21

Accessibility & contrast

On white

6.09
#157211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#157211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157211
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157211#FFFFFF#000000##FFFFFF
##1572111.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #157211;
/* rgb */ color: rgb(21, 114, 17);
/* oklch */ color: oklch(48.2% 0.153 142.4);
Tailwind
colors: {
  custom: {
    50: '#669c59',
    500: '#157211',
    950: '#000000',
  },
}
SCSS
$custom: #157211;
$custom-light: #669c59;
$custom-dark: #000000;
JSON
{
  "hex": "#157211",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 117.526,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48191,
    "c": 0.15275,
    "h": 142.4
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#157211
secondary
#A436A9
accent
#37F1E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157211

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

Preview Lab → · Contrast checker → · Palette generator →

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