#217215#217215

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

Color values

HEX#217215
RGBrgb(33, 114, 21)
HSLhsl(112, 69%, 26%)
HSVhsv(112, 82%, 45%)
CMYKcmyk(71.1%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.86, -42.05, 41.10)
CIE-LCHlch(41.86, 58.80, 135.65°)
OKLaboklab(48.5% -0.1148 0.0918)
OKLCHoklch(48.5% 0.147 141.4)
XYZxyz(6.7795, 12.4114, 2.7477)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217215 #661572
analogous
#507215 #217215 #157238
triadic
#217215 #152172 #721521
tetradic
#217215 #155072 #661572 #723815
square
#217215 #155072 #661572 #723815
split-complementary
#217215 #381572 #721550
monochromatic
#071A05 #123E0B #217215 #30A61F #40D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217215#FFFFFF#000000##FFFFFF
##2172151.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)
#6C6020
Tritanopia (blue-blind)
#0F6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217215;
/* rgb */ color: rgb(33, 114, 21);
/* oklch */ color: oklch(48.5% 0.147 141.4);
Tailwind
colors: {
  custom: {
    50: '#6a9b5b',
    500: '#217215',
    950: '#000000',
  },
}
SCSS
$custom: #217215;
$custom-light: #6a9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#217215",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 112.258,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.147,
    "h": 141.4
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#217215
secondary
#9A3BA8
accent
#3CECD5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217215

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

Preview Lab → · Contrast checker → · Palette generator →

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