#217422#217422

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

Color values

HEX#217422
RGBrgb(33, 116, 34)
HSLhsl(121, 56%, 29%)
HSVhsv(121, 72%, 45%)
CMYKcmyk(71.6%, 0%, 70.7%, 54.5%)
CIE-LABlab(42.66, -41.65, 36.75)
CIE-LCHlch(42.66, 55.55, 138.57°)
OKLaboklab(49.19% -0.113 0.0845)
OKLCHoklch(49.19% 0.141 143.2)
XYZxyz(7.1609, 12.9288, 3.6312)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217422 #742173
analogous
#4A7421 #217422 #21744C
triadic
#217422 #222174 #742221
tetradic
#217422 #214A74 #742173 #744C21
square
#217422 #214A74 #742173 #744C21
split-complementary
#217422 #4C2174 #74214A
monochromatic
#071807 #134414 #217422 #2FA430 #45CA47

Accessibility & contrast

On white

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

On black

3.59
#217422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217422#FFFFFF#000000##FFFFFF
##2174221.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#6D622A
Tritanopia (blue-blind)
#097163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #217422;
/* rgb */ color: rgb(33, 116, 34);
/* oklch */ color: oklch(49.2% 0.141 143.2);
Tailwind
colors: {
  custom: {
    50: '#699d62',
    500: '#217422',
    950: '#000000',
  },
}
SCSS
$custom: #217422;
$custom-light: #699d62;
$custom-dark: #000000;
JSON
{
  "hex": "#217422",
  "rgb": {
    "r": 33,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 120.723,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49189,
    "c": 0.14114,
    "h": 143.2
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#217422
secondary
#A749A6
accent
#49DDDF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #217422

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

Preview Lab → · Contrast checker → · Palette generator →

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