#217520#217520

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

Color values

HEX#217520
RGBrgb(33, 117, 32)
HSLhsl(119, 57%, 29%)
HSVhsv(119, 73%, 46%)
CMYKcmyk(71.8%, 0%, 72.6%, 54.1%)
CIE-LABlab(42.99, -42.22, 37.98)
CIE-LCHlch(42.99, 56.79, 138.03°)
OKLaboklab(49.46% -0.1147 0.0868)
OKLCHoklch(49.46% 0.144 142.9)
XYZxyz(7.2488, 13.1494, 3.5223)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217520 #742075
analogous
#4C7520 #217520 #20754A
triadic
#217520 #202175 #752021
tetradic
#217520 #204C75 #742075 #754A20
square
#217520 #204C75 #742075 #754A20
split-complementary
#217520 #4A2075 #75204C
monochromatic
#071807 #134513 #217520 #2FA52D #45CC44

Accessibility & contrast

On white

5.79
#217520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217520
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217520#FFFFFF#000000##FFFFFF
##2175201.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#097164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #217520;
/* rgb */ color: rgb(33, 117, 32);
/* oklch */ color: oklch(49.5% 0.144 142.9);
Tailwind
colors: {
  custom: {
    50: '#6a9e61',
    500: '#217520',
    950: '#000000',
  },
}
SCSS
$custom: #217520;
$custom-light: #6a9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#217520",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 119.294,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49459,
    "c": 0.14386,
    "h": 142.9
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#217520
secondary
#A748A8
accent
#47E0DF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #217520

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

Preview Lab → · Contrast checker → · Palette generator →

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