#217420#217420

#217420 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.143 H 142.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#217420
RGBrgb(33, 116, 32)
HSLhsl(119, 57%, 29%)
HSVhsv(119, 72%, 45%)
CMYKcmyk(71.6%, 0%, 72.4%, 54.5%)
CIE-LABlab(42.64, -41.85, 37.61)
CIE-LCHlch(42.64, 56.27, 138.06°)
OKLaboklab(49.17% -0.1137 0.0861)
OKLCHoklch(49.17% 0.143 142.9)
XYZxyz(7.1329, 12.9176, 3.4837)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217420 #732074
analogous
#4B7420 #217420 #207449
triadic
#217420 #202174 #742021
tetradic
#217420 #204B74 #732074 #744920
square
#217420 #204B74 #732074 #744920
split-complementary
#217420 #492074 #74204B
monochromatic
#071807 #134413 #217420 #2FA42D #45CB43

Accessibility & contrast

On white

5.86
#217420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#217420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217420
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217420#FFFFFF#000000##FFFFFF
##2174201.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#0A7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #217420;
/* rgb */ color: rgb(33, 116, 32);
/* oklch */ color: oklch(49.2% 0.143 142.9);
Tailwind
colors: {
  custom: {
    50: '#699d60',
    500: '#217420',
    950: '#000000',
  },
}
SCSS
$custom: #217420;
$custom-light: #699d60;
$custom-dark: #000000;
JSON
{
  "hex": "#217420",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 119.286,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4917,
    "c": 0.1426,
    "h": 142.9
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#217420
secondary
#A648A8
accent
#48E0DE
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #217420

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

Preview Lab → · Contrast checker → · Palette generator →

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