#217421#217421

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

Color values

HEX#217421
RGBrgb(33, 116, 33)
HSLhsl(120, 56%, 29%)
HSVhsv(120, 72%, 45%)
CMYKcmyk(71.6%, 0%, 71.6%, 54.5%)
CIE-LABlab(42.65, -41.75, 37.19)
CIE-LCHlch(42.65, 55.91, 138.31°)
OKLaboklab(49.18% -0.1134 0.0853)
OKLCHoklch(49.18% 0.142 143)
XYZxyz(7.1467, 12.9232, 3.5563)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217421 #742174
analogous
#4B7421 #217421 #21744B
triadic
#217421 #212174 #742121
tetradic
#217421 #214B74 #742174 #744B21
square
#217421 #214B74 #742174 #744B21
split-complementary
#217421 #4B2174 #74214B
monochromatic
#071807 #134413 #217421 #2FA42F #45CA45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217421#FFFFFF#000000##FFFFFF
##2174211.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)
#776915
Deuteranopia (green-blind)
#6D6229
Tritanopia (blue-blind)
#0A7163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #217421;
/* rgb */ color: rgb(33, 116, 33);
/* oklch */ color: oklch(49.2% 0.142 143.0);
Tailwind
colors: {
  custom: {
    50: '#699d61',
    500: '#217421',
    950: '#000000',
  },
}
SCSS
$custom: #217421;
$custom-light: #699d61;
$custom-dark: #000000;
JSON
{
  "hex": "#217421",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.14188,
    "h": 143
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#217421
secondary
#A749A7
accent
#49DFDF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #217421

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

Preview Lab → · Contrast checker → · Palette generator →

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