#217621#217621

#217621 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.144 H 143.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#217621
RGBrgb(33, 118, 33)
HSLhsl(120, 56%, 30%)
HSVhsv(120, 72%, 46%)
CMYKcmyk(72%, 0%, 72%, 53.7%)
CIE-LABlab(43.34, -42.49, 37.92)
CIE-LCHlch(43.34, 56.95, 138.25°)
OKLaboklab(49.76% -0.1154 0.0869)
OKLCHoklch(49.76% 0.144 143)
XYZxyz(7.3797, 13.3892, 3.6340)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217621 #762176
analogous
#4C7621 #217621 #21764C
triadic
#217621 #212176 #762121
tetradic
#217621 #214C76 #762176 #764C21
square
#217621 #214C76 #762176 #764C21
split-complementary
#217621 #4C2176 #76214C
monochromatic
#071807 #144614 #217621 #2EA62E #46CB46

Accessibility & contrast

On white

5.71
#217621 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#217621 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217621
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217621#FFFFFF#000000##FFFFFF
##2176211.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B14
Deuteranopia (green-blind)
#6F6429
Tritanopia (blue-blind)
#087265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #217621;
/* rgb */ color: rgb(33, 118, 33);
/* oklch */ color: oklch(49.8% 0.144 143.0);
Tailwind
colors: {
  custom: {
    50: '#6a9e61',
    500: '#217621',
    950: '#000000',
  },
}
SCSS
$custom: #217621;
$custom-light: #6a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#217621",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.1444,
    "h": 143
  },
  "luminance": 0.1339
}

Semantic roles & 50–950 ramp

primary
#217621
secondary
#A94AA9
accent
#48E0E0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #217621

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

Preview Lab → · Contrast checker → · Palette generator →

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