#217020#217020

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

Color values

HEX#217020
RGBrgb(33, 112, 32)
HSLhsl(119, 56%, 28%)
HSVhsv(119, 71%, 44%)
CMYKcmyk(70.5%, 0%, 71.4%, 56.1%)
CIE-LABlab(41.24, -40.37, 36.12)
CIE-LCHlch(41.24, 54.17, 138.18°)
OKLaboklab(48.01% -0.1097 0.083)
OKLCHoklch(48.01% 0.138 142.9)
XYZxyz(6.6817, 12.0153, 3.3333)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217020 #6F2070
analogous
#497020 #217020 #207047
triadic
#217020 #202170 #702021
tetradic
#217020 #204970 #6F2070 #704720
square
#217020 #204970 #6F2070 #704720
split-complementary
#217020 #472070 #702049
monochromatic
#071807 #134012 #217020 #2FA02E #43C942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217020#FFFFFF#000000##FFFFFF
##2170201.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)
#736515
Deuteranopia (green-blind)
#695F28
Tritanopia (blue-blind)
#0D6D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #217020;
/* rgb */ color: rgb(33, 112, 32);
/* oklch */ color: oklch(48.0% 0.138 142.9);
Tailwind
colors: {
  custom: {
    50: '#699a60',
    500: '#217020',
    950: '#000000',
  },
}
SCSS
$custom: #217020;
$custom-light: #699a60;
$custom-dark: #000000;
JSON
{
  "hex": "#217020",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 119.25,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48011,
    "c": 0.13751,
    "h": 142.9
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#217020
secondary
#A348A4
accent
#49DFDD
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #217020

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

Preview Lab → · Contrast checker → · Palette generator →

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