#217740#217740

#217740 is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.5% C 0.118 H 151.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#217740
RGBrgb(33, 119, 64)
HSLhsl(142, 57%, 30%)
HSVhsv(142, 72%, 47%)
CMYKcmyk(72.3%, 0%, 46.2%, 53.3%)
CIE-LABlab(44.07, -38.45, 23.07)
CIE-LCHlch(44.07, 44.84, 149.04°)
OKLaboklab(50.48% -0.1036 0.0568)
OKLCHoklch(50.48% 0.118 151.3)
XYZxyz(8.1488, 13.8863, 7.1004)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217740 #772158
analogous
#2D7721 #217740 #21776B
triadic
#217740 #402177 #774021
tetradic
#217740 #212D77 #772158 #776B21
square
#217740 #212D77 #772158 #776B21
split-complementary
#217740 #6B2177 #77212D
monochromatic
#07180D #144726 #217740 #2EA75A #47CC77

Accessibility & contrast

On white

5.56
#217740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#217740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217740
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217740#FFFFFF#000000##FFFFFF
##2177401.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D3C
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#00756A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #217740;
/* rgb */ color: rgb(33, 119, 64);
/* oklch */ color: oklch(50.5% 0.118 151.3);
Tailwind
colors: {
  custom: {
    50: '#699f75',
    500: '#217740',
    950: '#000000',
  },
}
SCSS
$custom: #217740;
$custom-light: #699f75;
$custom-dark: #000000;
JSON
{
  "hex": "#217740",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 64
  },
  "hsl": {
    "h": 141.628,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5048,
    "c": 0.11813,
    "h": 151.3
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#217740
secondary
#AA4A87
accent
#48A9E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217740

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

Preview Lab → · Contrast checker → · Palette generator →

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