#157213#157213

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

Color values

HEX#157213
RGBrgb(21, 114, 19)
HSLhsl(119, 71%, 26%)
HSVhsv(119, 83%, 45%)
CMYKcmyk(81.6%, 0%, 83.3%, 55.3%)
CIE-LABlab(41.60, -44.38, 41.42)
CIE-LCHlch(41.60, 60.71, 136.97°)
OKLaboklab(48.2% -0.1205 0.0923)
OKLCHoklch(48.2% 0.152 142.6)
XYZxyz(6.4437, 12.2403, 2.6390)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157213 #701372
analogous
#447213 #157213 #137240
triadic
#157213 #131572 #721315
tetradic
#157213 #134472 #701372 #724013
square
#157213 #134472 #701372 #724013
split-complementary
#157213 #401372 #721344
monochromatic
#051A04 #0B3E0A #157213 #1FA61C #29DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157213#FFFFFF#000000##FFFFFF
##1572131.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)
#6B5F1F
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #157213;
/* rgb */ color: rgb(21, 114, 19);
/* oklch */ color: oklch(48.2% 0.152 142.6);
Tailwind
colors: {
  custom: {
    50: '#669c5a',
    500: '#157213',
    950: '#000000',
  },
}
SCSS
$custom: #157213;
$custom-light: #669c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#157213",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 118.737,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48203,
    "c": 0.1518,
    "h": 142.6
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#157213
secondary
#A638A9
accent
#3AEEEA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157213

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

Preview Lab → · Contrast checker → · Palette generator →

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