#217531#217531

#217531 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.130 H 146.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#217531
RGBrgb(33, 117, 49)
HSLhsl(131, 56%, 29%)
HSVhsv(131, 72%, 46%)
CMYKcmyk(71.8%, 0%, 58.1%, 54.1%)
CIE-LABlab(43.16, -40.15, 30.06)
CIE-LCHlch(43.16, 50.16, 143.18°)
OKLaboklab(49.66% -0.1083 0.0717)
OKLCHoklch(49.66% 0.13 146.5)
XYZxyz(7.5423, 13.2668, 5.0684)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217531 #752165
analogous
#3B7521 #217531 #21755B
triadic
#217531 #312175 #753121
tetradic
#217531 #213B75 #752165 #755B21
square
#217531 #213B75 #752165 #755B21
split-complementary
#217531 #5B2175 #75213B
monochromatic
#07180A #14451D #217531 #2EA545 #46CB5F

Accessibility & contrast

On white

5.75
#217531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#217531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217531
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217531#FFFFFF#000000##FFFFFF
##2175311.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A2B
Deuteranopia (green-blind)
#6D6336
Tritanopia (blue-blind)
#007266
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #217531;
/* rgb */ color: rgb(33, 117, 49);
/* oklch */ color: oklch(49.7% 0.130 146.5);
Tailwind
colors: {
  custom: {
    50: '#699e6b',
    500: '#217531',
    950: '#000000',
  },
}
SCSS
$custom: #217531;
$custom-light: #699e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#217531",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 49
  },
  "hsl": {
    "h": 131.429,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4966,
    "c": 0.12989,
    "h": 146.5
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#217531
secondary
#A84A96
accent
#49C3DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217531

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

Preview Lab → · Contrast checker → · Palette generator →

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