#217837#217837

#217837 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.128 H 148.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#217837
RGBrgb(33, 120, 55)
HSLhsl(135, 57%, 30%)
HSVhsv(135, 73%, 47%)
CMYKcmyk(72.5%, 0%, 54.2%, 52.9%)
CIE-LABlab(44.28, -40.40, 28.25)
CIE-LCHlch(44.28, 49.29, 145.03°)
OKLaboklab(50.61% -0.1088 0.0681)
OKLCHoklch(50.61% 0.128 148)
XYZxyz(8.0327, 14.0312, 5.8987)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217837 #782162
analogous
#377821 #217837 #217862
triadic
#217837 #372178 #783721
tetradic
#217837 #213778 #782162 #786221
square
#217837 #213778 #782162 #786221
split-complementary
#217837 #622178 #782137
monochromatic
#07180B #144821 #217837 #2EA84D #47CC69

Accessibility & contrast

On white

5.52
#217837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#217837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217837
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217837#FFFFFF#000000##FFFFFF
##2178371.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D31
Deuteranopia (green-blind)
#6F663C
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217837;
/* rgb */ color: rgb(33, 120, 55);
/* oklch */ color: oklch(50.6% 0.128 148.0);
Tailwind
colors: {
  custom: {
    50: '#69a06f',
    500: '#217837',
    950: '#000000',
  },
}
SCSS
$custom: #217837;
$custom-light: #69a06f;
$custom-dark: #000000;
JSON
{
  "hex": "#217837",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 55
  },
  "hsl": {
    "h": 135.172,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.12839,
    "h": 148
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#217837
secondary
#AB4A92
accent
#48BAE0
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #217837

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

Preview Lab → · Contrast checker → · Palette generator →

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