#217937#217937

#217937 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.130 H 147.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#217937
RGBrgb(33, 121, 55)
HSLhsl(135, 57%, 30%)
HSVhsv(135, 73%, 47%)
CMYKcmyk(72.7%, 0%, 54.5%, 52.5%)
CIE-LABlab(44.62, -40.79, 28.67)
CIE-LCHlch(44.62, 49.85, 144.89°)
OKLaboklab(50.89% -0.1099 0.069)
OKLCHoklch(50.89% 0.13 147.9)
XYZxyz(8.1536, 14.2730, 5.9390)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217937 #792163
analogous
#377921 #217937 #217963
triadic
#217937 #372179 #793721
tetradic
#217937 #213779 #792163 #796321
square
#217937 #213779 #792163 #796321
split-complementary
#217937 #632179 #792137
monochromatic
#07190B #144921 #217937 #2EA94D #47CD69

Accessibility & contrast

On white

5.45
#217937 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#217937 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217937
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217937#FFFFFF#000000##FFFFFF
##2179371.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E31
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217937;
/* rgb */ color: rgb(33, 121, 55);
/* oklch */ color: oklch(50.9% 0.130 147.9);
Tailwind
colors: {
  custom: {
    50: '#6aa16f',
    500: '#217937',
    950: '#000000',
  },
}
SCSS
$custom: #217937;
$custom-light: #6aa16f;
$custom-dark: #000000;
JSON
{
  "hex": "#217937",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 55
  },
  "hsl": {
    "h": 135,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.12976,
    "h": 147.9
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#217937
secondary
#AC4A93
accent
#47BAE0
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217937

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

Preview Lab → · Contrast checker → · Palette generator →

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