#217521#217521

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

Color values

HEX#217521
RGBrgb(33, 117, 33)
HSLhsl(120, 56%, 29%)
HSVhsv(120, 72%, 46%)
CMYKcmyk(71.8%, 0%, 71.8%, 54.1%)
CIE-LABlab(43.00, -42.12, 37.55)
CIE-LCHlch(43.00, 56.43, 138.28°)
OKLaboklab(49.47% -0.1144 0.0861)
OKLCHoklch(49.47% 0.143 143)
XYZxyz(7.2626, 13.1549, 3.5950)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217521 #752175
analogous
#4B7521 #217521 #21754B
triadic
#217521 #212175 #752121
tetradic
#217521 #214B75 #752175 #754B21
square
#217521 #214B75 #752175 #754B21
split-complementary
#217521 #4B2175 #75214B
monochromatic
#071807 #144514 #217521 #2EA52E #46CB46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217521#FFFFFF#000000##FFFFFF
##2175211.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)
#786A15
Deuteranopia (green-blind)
#6E6329
Tritanopia (blue-blind)
#097164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #217521;
/* rgb */ color: rgb(33, 117, 33);
/* oklch */ color: oklch(49.5% 0.143 143.0);
Tailwind
colors: {
  custom: {
    50: '#6a9e61',
    500: '#217521',
    950: '#000000',
  },
}
SCSS
$custom: #217521;
$custom-light: #6a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#217521",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 33
  },
  "hsl": {
    "h": 120,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.14314,
    "h": 143
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217521

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

Preview Lab → · Contrast checker → · Palette generator →

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