#217231#217231

#217231 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.126 H 146.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#217231
RGBrgb(33, 114, 49)
HSLhsl(132, 55%, 29%)
HSVhsv(132, 71%, 45%)
CMYKcmyk(71.1%, 0%, 57%, 55.3%)
CIE-LABlab(42.12, -38.98, 28.81)
CIE-LCHlch(42.12, 48.47, 143.53°)
OKLaboklab(48.8% -0.1052 0.069)
OKLCHoklch(48.8% 0.126 146.7)
XYZxyz(7.1984, 12.5789, 4.9538)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217231 #722162
analogous
#3A7221 #217231 #21725A
triadic
#217231 #312172 #723121
tetradic
#217231 #213A72 #722162 #725A21
square
#217231 #213A72 #722162 #725A21
split-complementary
#217231 #5A2172 #72213A
monochromatic
#07180A #13431D #217231 #2FA145 #44C95F

Accessibility & contrast

On white

5.97
#217231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#217231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217231
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217231#FFFFFF#000000##FFFFFF
##2172311.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6A6136
Tritanopia (blue-blind)
#026F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217231;
/* rgb */ color: rgb(33, 114, 49);
/* oklch */ color: oklch(48.8% 0.126 146.7);
Tailwind
colors: {
  custom: {
    50: '#689b6b',
    500: '#217231',
    950: '#000000',
  },
}
SCSS
$custom: #217231;
$custom-light: #689b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#217231",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 131.852,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.488,
    "c": 0.12575,
    "h": 146.7
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#217231
secondary
#A54993
accent
#49C1DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217231

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

Preview Lab → · Contrast checker → · Palette generator →

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