#217D29#217D29

#217D29 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.147 H 144.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#217D29
RGBrgb(33, 125, 41)
HSLhsl(125, 58%, 31%)
HSVhsv(125, 74%, 49%)
CMYKcmyk(73.6%, 0%, 67.2%, 51%)
CIE-LABlab(45.84, -44.18, 37.06)
CIE-LCHlch(45.84, 57.66, 140.01°)
OKLaboklab(51.85% -0.1195 0.086)
OKLCHoklch(51.85% 0.147 144.3)
XYZxyz(8.3605, 15.1497, 4.5810)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D29 #7D2175
analogous
#477D21 #217D29 #217D57
triadic
#217D29 #29217D #7D2921
tetradic
#217D29 #21477D #7D2175 #7D5721
square
#217D29 #21477D #7D2175 #7D5721
split-complementary
#217D29 #57217D #7D2147
monochromatic
#071C09 #144D19 #217D29 #2EAD39 #49CF55

Accessibility & contrast

On white

5.21
#217D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#217D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D29
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D29#FFFFFF#000000##FFFFFF
##217D291.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d29;
/* rgb */ color: rgb(33, 125, 41);
/* oklch */ color: oklch(51.8% 0.147 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ba467',
    500: '#217d29',
    950: '#000000',
  },
}
SCSS
$custom: #217d29;
$custom-light: #6ba467;
$custom-dark: #000000;
JSON
{
  "hex": "#217d29",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 125.217,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51847,
    "c": 0.14726,
    "h": 144.3
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#217D29
secondary
#B04AA7
accent
#46D4E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217D29

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

Preview Lab → · Contrast checker → · Palette generator →

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