#217D36#217D36

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

Color values

HEX#217D36
RGBrgb(33, 125, 54)
HSLhsl(134, 58%, 31%)
HSVhsv(134, 74%, 49%)
CMYKcmyk(73.6%, 0%, 56.8%, 51%)
CIE-LABlab(45.98, -42.47, 30.85)
CIE-LCHlch(45.98, 52.49, 144.01°)
OKLaboklab(52.01% -0.1144 0.0738)
OKLCHoklch(52.01% 0.136 147.2)
XYZxyz(8.6260, 15.2559, 5.9794)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D36 #7D2168
analogous
#3A7D21 #217D36 #217D64
triadic
#217D36 #36217D #7D3621
tetradic
#217D36 #213A7D #7D2168 #7D6421
square
#217D36 #213A7D #7D2168 #7D6421
split-complementary
#217D36 #64217D #7D213A
monochromatic
#071C0C #144D21 #217D36 #2EAD4B #49CF68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217D36#FFFFFF#000000##FFFFFF
##217D361.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)
#7F712F
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d36;
/* rgb */ color: rgb(33, 125, 54);
/* oklch */ color: oklch(52.0% 0.136 147.2);
Tailwind
colors: {
  custom: {
    50: '#6ba46f',
    500: '#217d36',
    950: '#000000',
  },
}
SCSS
$custom: #217d36;
$custom-light: #6ba46f;
$custom-dark: #000000;
JSON
{
  "hex": "#217d36",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 54
  },
  "hsl": {
    "h": 133.696,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52013,
    "c": 0.13616,
    "h": 147.2
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#217D36
secondary
#B04A99
accent
#46BEE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217D36

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

Preview Lab → · Contrast checker → · Palette generator →

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