#217540#217540

#217540 is a mid, moderate green. Relative luminance 0.134; OKLCH L 49.9% C 0.115 H 151.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#217540
RGBrgb(33, 117, 64)
HSLhsl(142, 56%, 29%)
HSVhsv(142, 72%, 46%)
CMYKcmyk(71.8%, 0%, 45.3%, 54.1%)
CIE-LABlab(43.38, -37.63, 22.18)
CIE-LCHlch(43.38, 43.68, 149.48°)
OKLaboklab(49.91% -0.1014 0.0547)
OKLCHoklch(49.91% 0.115 151.6)
XYZxyz(7.9132, 13.4152, 7.0218)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217540 #752156
analogous
#2C7521 #217540 #21756A
triadic
#217540 #402175 #754021
tetradic
#217540 #212C75 #752156 #756A21
square
#217540 #212C75 #752156 #756A21
split-complementary
#217540 #6A2175 #75212C
monochromatic
#07180D #144526 #217540 #2EA55A #46CB77

Accessibility & contrast

On white

5.70
#217540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#217540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217540
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217540#FFFFFF#000000##FFFFFF
##2175401.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3C
Deuteranopia (green-blind)
#6B6444
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #217540;
/* rgb */ color: rgb(33, 117, 64);
/* oklch */ color: oklch(49.9% 0.115 151.6);
Tailwind
colors: {
  custom: {
    50: '#689d75',
    500: '#217540',
    950: '#000000',
  },
}
SCSS
$custom: #217540;
$custom-light: #689d75;
$custom-dark: #000000;
JSON
{
  "hex": "#217540",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 142.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49913,
    "c": 0.11525,
    "h": 151.6
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#217540
secondary
#A84A85
accent
#49A8DF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217540

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

Preview Lab → · Contrast checker → · Palette generator →

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