#217F35#217F35

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

Color values

HEX#217F35
RGBrgb(33, 127, 53)
HSLhsl(133, 59%, 31%)
HSVhsv(133, 74%, 50%)
CMYKcmyk(74%, 0%, 58.3%, 50.2%)
CIE-LABlab(46.66, -43.37, 32.16)
CIE-LCHlch(46.66, 54.00, 143.44°)
OKLaboklab(52.57% -0.1169 0.0766)
OKLCHoklch(52.57% 0.14 146.8)
XYZxyz(8.8585, 15.7581, 5.9422)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F35 #7F216B
analogous
#3C7F21 #217F35 #217F64
triadic
#217F35 #35217F #7F3521
tetradic
#217F35 #213C7F #7F216B #7F6421
square
#217F35 #213C7F #7F216B #7F6421
split-complementary
#217F35 #64217F #7F213C
monochromatic
#081E0C #144E21 #217F35 #2EB049 #4AD067

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #217f35;
/* rgb */ color: rgb(33, 127, 53);
/* oklch */ color: oklch(52.6% 0.140 146.8);
Tailwind
colors: {
  custom: {
    50: '#6ba56e',
    500: '#217f35',
    950: '#000000',
  },
}
SCSS
$custom: #217f35;
$custom-light: #6ba56e;
$custom-dark: #000000;
JSON
{
  "hex": "#217f35",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 53
  },
  "hsl": {
    "h": 132.766,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.13974,
    "h": 146.8
  },
  "luminance": 0.15759
}

Semantic roles & 50–950 ramp

primary
#217F35
secondary
#B24A9C
accent
#46C1E2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #217F35

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

Preview Lab → · Contrast checker → · Palette generator →

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