#217D37#217D37

#217D37 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.135 H 147.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#217D37
RGBrgb(33, 125, 55)
HSLhsl(134, 58%, 31%)
HSVhsv(134, 74%, 49%)
CMYKcmyk(73.6%, 0%, 56%, 51%)
CIE-LABlab(46.00, -42.32, 30.34)
CIE-LCHlch(46.00, 52.07, 144.36°)
OKLaboklab(52.03% -0.114 0.0728)
OKLCHoklch(52.03% 0.135 147.5)
XYZxyz(8.6498, 15.2654, 6.1044)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D37 #7D2167
analogous
#397D21 #217D37 #217D65
triadic
#217D37 #37217D #7D3721
tetradic
#217D37 #21397D #7D2167 #7D6521
square
#217D37 #21397D #7D2167 #7D6521
split-complementary
#217D37 #65217D #7D2139
monochromatic
#071C0C #144D22 #217D37 #2EAD4C #49CF69

Accessibility & contrast

On white

5.18
#217D37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#217D37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D37
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D37#FFFFFF#000000##FFFFFF
##217D371.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7231
Deuteranopia (green-blind)
#746A3C
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d37;
/* rgb */ color: rgb(33, 125, 55);
/* oklch */ color: oklch(52.0% 0.135 147.5);
Tailwind
colors: {
  custom: {
    50: '#6ba470',
    500: '#217d37',
    950: '#000000',
  },
}
SCSS
$custom: #217d37;
$custom-light: #6ba470;
$custom-dark: #000000;
JSON
{
  "hex": "#217d37",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 55
  },
  "hsl": {
    "h": 134.348,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.13524,
    "h": 147.5
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#217D37
secondary
#B04A97
accent
#46BCE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217D37

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

Preview Lab → · Contrast checker → · Palette generator →

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