#217D39#217D39

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

Color values

HEX#217D39
RGBrgb(33, 125, 57)
HSLhsl(136, 58%, 31%)
HSVhsv(136, 74%, 49%)
CMYKcmyk(73.6%, 0%, 54.4%, 51%)
CIE-LABlab(46.02, -42.01, 29.33)
CIE-LCHlch(46.02, 51.24, 145.08°)
OKLaboklab(52.06% -0.1131 0.0706)
OKLCHoklch(52.06% 0.133 148)
XYZxyz(8.6987, 15.2850, 6.3620)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D39 #7D2165
analogous
#377D21 #217D39 #217D67
triadic
#217D39 #39217D #7D3921
tetradic
#217D39 #21377D #7D2165 #7D6721
square
#217D39 #21377D #7D2165 #7D6721
split-complementary
#217D39 #67217D #7D2137
monochromatic
#071C0D #144D23 #217D39 #2EAD4F #49CF6C

Accessibility & contrast

On white

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

On black

4.06
#217D39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217D39#FFFFFF#000000##FFFFFF
##217D391.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7233
Deuteranopia (green-blind)
#736A3E
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d39;
/* rgb */ color: rgb(33, 125, 57);
/* oklch */ color: oklch(52.1% 0.133 148.0);
Tailwind
colors: {
  custom: {
    50: '#6aa471',
    500: '#217d39',
    950: '#000000',
  },
}
SCSS
$custom: #217d39;
$custom-light: #6aa471;
$custom-dark: #000000;
JSON
{
  "hex": "#217d39",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 57
  },
  "hsl": {
    "h": 135.652,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.13337,
    "h": 148
  },
  "luminance": 0.15286
}

Semantic roles & 50–950 ramp

primary
#217D39
secondary
#B04A95
accent
#46B9E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217D39

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

Preview Lab → · Contrast checker → · Palette generator →

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