#217F33#217F33

#217F33 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.142 H 146.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#217F33
RGBrgb(33, 127, 51)
HSLhsl(131, 59%, 31%)
HSVhsv(131, 74%, 50%)
CMYKcmyk(74%, 0%, 59.8%, 50.2%)
CIE-LABlab(46.63, -43.65, 33.15)
CIE-LCHlch(46.63, 54.81, 142.79°)
OKLaboklab(52.54% -0.1177 0.0786)
OKLCHoklch(52.54% 0.142 146.3)
XYZxyz(8.8135, 15.7401, 5.7050)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F33 #7F216D
analogous
#3E7F21 #217F33 #217F62
triadic
#217F33 #33217F #7F3321
tetradic
#217F33 #213E7F #7F216D #7F6221
square
#217F33 #213E7F #7F216D #7F6221
split-complementary
#217F33 #62217F #7F213E
monochromatic
#081E0C #144E1F #217F33 #2EB047 #4AD064

Accessibility & contrast

On white

5.06
#217F33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#217F33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F33
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F33#FFFFFF#000000##FFFFFF
##217F331.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732B
Deuteranopia (green-blind)
#766C39
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f33;
/* rgb */ color: rgb(33, 127, 51);
/* oklch */ color: oklch(52.5% 0.142 146.3);
Tailwind
colors: {
  custom: {
    50: '#6ba56d',
    500: '#217f33',
    950: '#000000',
  },
}
SCSS
$custom: #217f33;
$custom-light: #6ba56d;
$custom-dark: #000000;
JSON
{
  "hex": "#217f33",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 51
  },
  "hsl": {
    "h": 131.489,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.14153,
    "h": 146.3
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#217F33
secondary
#B24A9E
accent
#46C4E2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #217F33

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

Preview Lab → · Contrast checker → · Palette generator →

#217F33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva