#217840#217840

#217840 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.8% C 0.120 H 151.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#217840
RGBrgb(33, 120, 64)
HSLhsl(141, 57%, 30%)
HSVhsv(141, 73%, 47%)
CMYKcmyk(72.5%, 0%, 46.7%, 52.9%)
CIE-LABlab(44.41, -38.85, 23.51)
CIE-LCHlch(44.41, 45.41, 148.82°)
OKLaboklab(50.76% -0.1047 0.0578)
OKLCHoklch(50.76% 0.12 151.1)
XYZxyz(8.2684, 14.1255, 7.1402)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217840 #782159
analogous
#2E7821 #217840 #21786B
triadic
#217840 #402178 #784021
tetradic
#217840 #212E78 #782159 #786B21
square
#217840 #212E78 #782159 #786B21
split-complementary
#217840 #6B2178 #78212E
monochromatic
#07180D #144826 #217840 #2EA85A #47CC77

Accessibility & contrast

On white

5.49
#217840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#217840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217840
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217840#FFFFFF#000000##FFFFFF
##2178401.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3C
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217840;
/* rgb */ color: rgb(33, 120, 64);
/* oklch */ color: oklch(50.8% 0.120 151.1);
Tailwind
colors: {
  custom: {
    50: '#69a075',
    500: '#217840',
    950: '#000000',
  },
}
SCSS
$custom: #217840;
$custom-light: #69a075;
$custom-dark: #000000;
JSON
{
  "hex": "#217840",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 141.379,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50763,
    "c": 0.11956,
    "h": 151.1
  },
  "luminance": 0.14126
}

Semantic roles & 50–950 ramp

primary
#217840
secondary
#AB4A88
accent
#48AAE0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #217840

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

Preview Lab → · Contrast checker → · Palette generator →

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