#217F34#217F34

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

Color values

HEX#217F34
RGBrgb(33, 127, 52)
HSLhsl(132, 59%, 31%)
HSVhsv(132, 74%, 50%)
CMYKcmyk(74%, 0%, 59.1%, 50.2%)
CIE-LABlab(46.64, -43.51, 32.66)
CIE-LCHlch(46.64, 54.40, 143.11°)
OKLaboklab(52.55% -0.1173 0.0776)
OKLCHoklch(52.55% 0.141 146.5)
XYZxyz(8.8358, 15.7490, 5.8224)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F34 #7F216C
analogous
#3D7F21 #217F34 #217F63
triadic
#217F34 #34217F #7F3421
tetradic
#217F34 #213D7F #7F216C #7F6321
square
#217F34 #213D7F #7F216C #7F6321
split-complementary
#217F34 #63217F #7F213D
monochromatic
#081E0C #144E20 #217F34 #2EB048 #4AD065

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217F34#FFFFFF#000000##FFFFFF
##217F341.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)
#81732D
Deuteranopia (green-blind)
#766C3A
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f34;
/* rgb */ color: rgb(33, 127, 52);
/* oklch */ color: oklch(52.6% 0.141 146.5);
Tailwind
colors: {
  custom: {
    50: '#6ba56e',
    500: '#217f34',
    950: '#000000',
  },
}
SCSS
$custom: #217f34;
$custom-light: #6ba56e;
$custom-dark: #000000;
JSON
{
  "hex": "#217f34",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 52
  },
  "hsl": {
    "h": 132.128,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.14065,
    "h": 146.5
  },
  "luminance": 0.1575
}

Semantic roles & 50–950 ramp

primary
#217F34
secondary
#B24A9D
accent
#46C2E2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #217F34

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

Preview Lab → · Contrast checker → · Palette generator →

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