#217D3E#217D3E

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

Color values

HEX#217D3E
RGBrgb(33, 125, 62)
HSLhsl(139, 58%, 31%)
HSVhsv(139, 74%, 49%)
CMYKcmyk(73.6%, 0%, 50.4%, 51%)
CIE-LABlab(46.09, -41.19, 26.74)
CIE-LCHlch(46.09, 49.11, 147.01°)
OKLaboklab(52.14% -0.1109 0.0651)
OKLCHoklch(52.14% 0.129 149.6)
XYZxyz(8.8296, 15.3374, 7.0516)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D3E #7D2160
analogous
#327D21 #217D3E #217D6C
triadic
#217D3E #3E217D #7D3E21
tetradic
#217D3E #21327D #7D2160 #7D6C21
square
#217D3E #21327D #7D2160 #7D6C21
split-complementary
#217D3E #6C217D #7D2132
monochromatic
#071C0E #144D26 #217D3E #2EAD56 #49CF73

Accessibility & contrast

On white

5.16
#217D3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#217D3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D3E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D3E#FFFFFF#000000##FFFFFF
##217D3E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7239
Deuteranopia (green-blind)
#736A42
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d3e;
/* rgb */ color: rgb(33, 125, 62);
/* oklch */ color: oklch(52.1% 0.129 149.6);
Tailwind
colors: {
  custom: {
    50: '#6aa374',
    500: '#217d3e',
    950: '#000000',
  },
}
SCSS
$custom: #217d3e;
$custom-light: #6aa374;
$custom-dark: #000000;
JSON
{
  "hex": "#217d3e",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 62
  },
  "hsl": {
    "h": 138.913,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5214,
    "c": 0.12857,
    "h": 149.6
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#217D3E
secondary
#B04A90
accent
#46B1E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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