#217940#217940

#217940 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.121 H 150.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#217940
RGBrgb(33, 121, 64)
HSLhsl(141, 57%, 30%)
HSVhsv(141, 73%, 47%)
CMYKcmyk(72.7%, 0%, 47.1%, 52.5%)
CIE-LABlab(44.76, -39.25, 23.95)
CIE-LCHlch(44.76, 45.98, 148.62°)
OKLaboklab(51.05% -0.1057 0.0588)
OKLCHoklch(51.05% 0.121 150.9)
XYZxyz(8.3893, 14.3673, 7.1805)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217940 #79215A
analogous
#2E7921 #217940 #21796C
triadic
#217940 #402179 #794021
tetradic
#217940 #212E79 #79215A #796C21
square
#217940 #212E79 #79215A #796C21
split-complementary
#217940 #6C2179 #79212E
monochromatic
#07190D #144927 #217940 #2EA959 #47CD76

Accessibility & contrast

On white

5.42
#217940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#217940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217940
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217940#FFFFFF#000000##FFFFFF
##2179401.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217940;
/* rgb */ color: rgb(33, 121, 64);
/* oklch */ color: oklch(51.0% 0.121 150.9);
Tailwind
colors: {
  custom: {
    50: '#69a076',
    500: '#217940',
    950: '#000000',
  },
}
SCSS
$custom: #217940;
$custom-light: #69a076;
$custom-dark: #000000;
JSON
{
  "hex": "#217940",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 141.136,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51046,
    "c": 0.12098,
    "h": 150.9
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#217940
secondary
#AC4A89
accent
#47ABE0
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217940

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

Preview Lab → · Contrast checker → · Palette generator →

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