#217820#217820

#217820 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.148 H 142.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#217820
RGBrgb(33, 120, 32)
HSLhsl(119, 58%, 30%)
HSVhsv(119, 73%, 47%)
CMYKcmyk(72.5%, 0%, 73.3%, 52.9%)
CIE-LABlab(44.03, -43.31, 39.07)
CIE-LCHlch(44.03, 58.33, 137.95°)
OKLaboklab(50.32% -0.1176 0.0891)
OKLCHoklch(50.32% 0.148 142.9)
XYZxyz(7.6039, 13.8597, 3.6407)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217820 #772078
analogous
#4D7820 #217820 #20784B
triadic
#217820 #202178 #782021
tetradic
#217820 #204D78 #772078 #784B20
square
#217820 #204D78 #772078 #784B20
split-complementary
#217820 #4B2078 #78204D
monochromatic
#071806 #144813 #217820 #2EA82D #47CD45

Accessibility & contrast

On white

5.57
#217820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#217820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217820
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217820#FFFFFF#000000##FFFFFF
##2178201.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C12
Deuteranopia (green-blind)
#716529
Tritanopia (blue-blind)
#077467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #217820;
/* rgb */ color: rgb(33, 120, 32);
/* oklch */ color: oklch(50.3% 0.148 142.9);
Tailwind
colors: {
  custom: {
    50: '#6aa061',
    500: '#217820',
    950: '#000000',
  },
}
SCSS
$custom: #217820;
$custom-light: #6aa061;
$custom-dark: #000000;
JSON
{
  "hex": "#217820",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 119.318,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50324,
    "c": 0.14759,
    "h": 142.9
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#217820
secondary
#AA48AB
accent
#47E1DF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #217820

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

Preview Lab → · Contrast checker → · Palette generator →

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