#217331#217331

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

Color values

HEX#217331
RGBrgb(33, 115, 49)
HSLhsl(132, 55%, 29%)
HSVhsv(132, 71%, 45%)
CMYKcmyk(71.3%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.47, -39.37, 29.23)
CIE-LCHlch(42.47, 49.04, 143.41°)
OKLaboklab(49.09% -0.1062 0.0699)
OKLCHoklch(49.09% 0.127 146.7)
XYZxyz(7.3118, 12.8058, 4.9916)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217331 #732163
analogous
#3A7321 #217331 #21735A
triadic
#217331 #312173 #733121
tetradic
#217331 #213A73 #732163 #735A21
square
#217331 #213A73 #732163 #735A21
split-complementary
#217331 #5A2173 #73213A
monochromatic
#07180A #13431D #217331 #2FA345 #45CA5F

Accessibility & contrast

On white

5.90
#217331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#217331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217331
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217331#FFFFFF#000000##FFFFFF
##2173311.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75682B
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#017064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217331;
/* rgb */ color: rgb(33, 115, 49);
/* oklch */ color: oklch(49.1% 0.127 146.7);
Tailwind
colors: {
  custom: {
    50: '#689c6b',
    500: '#217331',
    950: '#000000',
  },
}
SCSS
$custom: #217331;
$custom-light: #689c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#217331",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 131.707,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49087,
    "c": 0.12713,
    "h": 146.7
  },
  "luminance": 0.12807
}

Semantic roles & 50–950 ramp

primary
#217331
secondary
#A64994
accent
#49C2DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217331

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

Preview Lab → · Contrast checker → · Palette generator →

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