#217522#217522

#217522 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.142 H 143.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#217522
RGBrgb(33, 117, 34)
HSLhsl(121, 56%, 29%)
HSVhsv(121, 72%, 46%)
CMYKcmyk(71.8%, 0%, 70.9%, 54.1%)
CIE-LABlab(43.00, -42.02, 37.13)
CIE-LCHlch(43.00, 56.07, 138.54°)
OKLaboklab(49.48% -0.114 0.0853)
OKLCHoklch(49.48% 0.142 143.2)
XYZxyz(7.2768, 13.1606, 3.6698)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217522 #752174
analogous
#4A7521 #217522 #21754C
triadic
#217522 #222175 #752221
tetradic
#217522 #214A75 #752174 #754C21
square
#217522 #214A75 #752174 #754C21
split-complementary
#217522 #4C2175 #75214A
monochromatic
#071807 #144514 #217522 #2EA530 #46CB47

Accessibility & contrast

On white

5.78
#217522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#217522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217522
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217522#FFFFFF#000000##FFFFFF
##2175221.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A16
Deuteranopia (green-blind)
#6E632A
Tritanopia (blue-blind)
#097264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #217522;
/* rgb */ color: rgb(33, 117, 34);
/* oklch */ color: oklch(49.5% 0.142 143.2);
Tailwind
colors: {
  custom: {
    50: '#6a9e62',
    500: '#217522',
    950: '#000000',
  },
}
SCSS
$custom: #217522;
$custom-light: #6a9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#217522",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 120.714,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49478,
    "c": 0.14242,
    "h": 143.2
  },
  "luminance": 0.13161
}

Semantic roles & 50–950 ramp

primary
#217522
secondary
#A84AA7
accent
#49DEDF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #217522

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

Preview Lab → · Contrast checker → · Palette generator →

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