#217336#217336

#217336 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.122 H 148.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#217336
RGBrgb(33, 115, 54)
HSLhsl(135, 55%, 29%)
HSVhsv(135, 71%, 45%)
CMYKcmyk(71.3%, 0%, 53%, 54.9%)
CIE-LABlab(42.54, -38.59, 26.64)
CIE-LCHlch(42.54, 46.89, 145.38°)
OKLaboklab(49.17% -0.104 0.0645)
OKLCHoklch(49.17% 0.122 148.2)
XYZxyz(7.4232, 12.8503, 5.5785)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217336 #73215E
analogous
#357321 #217336 #21735F
triadic
#217336 #362173 #733621
tetradic
#217336 #213573 #73215E #735F21
square
#217336 #213573 #73215E #735F21
split-complementary
#217336 #5F2173 #732135
monochromatic
#07180B #134320 #217336 #2FA34C #45CA67

Accessibility & contrast

On white

5.88
#217336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#217336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217336
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217336#FFFFFF#000000##FFFFFF
##2173361.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746931
Deuteranopia (green-blind)
#6A623A
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217336;
/* rgb */ color: rgb(33, 115, 54);
/* oklch */ color: oklch(49.2% 0.122 148.2);
Tailwind
colors: {
  custom: {
    50: '#689c6e',
    500: '#217336',
    950: '#000000',
  },
}
SCSS
$custom: #217336;
$custom-light: #689c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#217336",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 54
  },
  "hsl": {
    "h": 135.366,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49165,
    "c": 0.12236,
    "h": 148.2
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#217336
secondary
#A6498F
accent
#49B8DF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217336

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

Preview Lab → · Contrast checker → · Palette generator →

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