#217213#217213

#217213 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.148 H 141.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#217213
RGBrgb(33, 114, 19)
HSLhsl(111, 71%, 26%)
HSVhsv(111, 83%, 45%)
CMYKcmyk(71.1%, 0%, 83.3%, 55.3%)
CIE-LABlab(41.85, -42.18, 41.76)
CIE-LCHlch(41.85, 59.35, 135.29°)
OKLaboklab(48.49% -0.1153 0.0929)
OKLCHoklch(48.49% 0.148 141.1)
XYZxyz(6.7617, 12.4043, 2.6539)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217213 #641372
analogous
#507213 #217213 #137234
triadic
#217213 #132172 #721321
tetradic
#217213 #135072 #641372 #723413
square
#217213 #135072 #641372 #723413
split-complementary
#217213 #341372 #721350
monochromatic
#081A04 #123E0A #217213 #30A61C #40DB25

Accessibility & contrast

On white

6.03
#217213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#217213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217213
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217213#FFFFFF#000000##FFFFFF
##2172131.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6C601F
Tritanopia (blue-blind)
#106E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217213;
/* rgb */ color: rgb(33, 114, 19);
/* oklch */ color: oklch(48.5% 0.148 141.1);
Tailwind
colors: {
  custom: {
    50: '#6a9b5a',
    500: '#217213',
    950: '#000000',
  },
}
SCSS
$custom: #217213;
$custom-light: #6a9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#217213",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 111.158,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48489,
    "c": 0.14803,
    "h": 141.1
  },
  "luminance": 0.12405
}

Semantic roles & 50–950 ramp

primary
#217213
secondary
#9838A9
accent
#3AEED4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217213

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

Preview Lab → · Contrast checker → · Palette generator →

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