#217335#217335

#217335 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.123 H 147.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#217335
RGBrgb(33, 115, 53)
HSLhsl(135, 55%, 29%)
HSVhsv(135, 71%, 45%)
CMYKcmyk(71.3%, 0%, 53.9%, 54.9%)
CIE-LABlab(42.52, -38.75, 27.17)
CIE-LCHlch(42.52, 47.33, 144.97°)
OKLaboklab(49.15% -0.1044 0.0656)
OKLCHoklch(49.15% 0.123 147.9)
XYZxyz(7.4000, 12.8410, 5.4561)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217335 #73215F
analogous
#367321 #217335 #21735E
triadic
#217335 #352173 #733521
tetradic
#217335 #213673 #73215F #735E21
square
#217335 #213673 #73215F #735E21
split-complementary
#217335 #5E2173 #732136
monochromatic
#07180B #13431F #217335 #2FA34B #45CA65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217335#FFFFFF#000000##FFFFFF
##2173351.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)
#746930
Deuteranopia (green-blind)
#6A623A
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217335;
/* rgb */ color: rgb(33, 115, 53);
/* oklch */ color: oklch(49.1% 0.123 147.9);
Tailwind
colors: {
  custom: {
    50: '#689c6e',
    500: '#217335',
    950: '#000000',
  },
}
SCSS
$custom: #217335;
$custom-light: #689c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#217335",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 53
  },
  "hsl": {
    "h": 134.634,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49148,
    "c": 0.12333,
    "h": 147.9
  },
  "luminance": 0.12842
}

Semantic roles & 50–950 ramp

primary
#217335
secondary
#A64990
accent
#49BADF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217335

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

Preview Lab → · Contrast checker → · Palette generator →

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