#217F36#217F36

#217F36 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.139 H 147.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#217F36
RGBrgb(33, 127, 54)
HSLhsl(133, 59%, 31%)
HSVhsv(133, 74%, 50%)
CMYKcmyk(74%, 0%, 57.5%, 50.2%)
CIE-LABlab(46.67, -43.23, 31.67)
CIE-LCHlch(46.67, 53.58, 143.77°)
OKLaboklab(52.58% -0.1165 0.0756)
OKLCHoklch(52.58% 0.139 147)
XYZxyz(8.8818, 15.7674, 6.0646)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F36 #7F216A
analogous
#3B7F21 #217F36 #217F65
triadic
#217F36 #36217F #7F3621
tetradic
#217F36 #213B7F #7F216A #7F6521
square
#217F36 #213B7F #7F216A #7F6521
split-complementary
#217F36 #65217F #7F213B
monochromatic
#081E0D #144E21 #217F36 #2EB04B #4AD068

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217F36#FFFFFF#000000##FFFFFF
##217F361.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)
#81732F
Deuteranopia (green-blind)
#766C3C
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f36;
/* rgb */ color: rgb(33, 127, 54);
/* oklch */ color: oklch(52.6% 0.139 147.0);
Tailwind
colors: {
  custom: {
    50: '#6ba56f',
    500: '#217f36',
    950: '#000000',
  },
}
SCSS
$custom: #217f36;
$custom-light: #6ba56f;
$custom-dark: #000000;
JSON
{
  "hex": "#217f36",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 54
  },
  "hsl": {
    "h": 133.404,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5258,
    "c": 0.13884,
    "h": 147
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#217F36
secondary
#B24A9B
accent
#46BFE2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #217F36

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

Preview Lab → · Contrast checker → · Palette generator →

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