#217D28#217D28

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

Color values

HEX#217D28
RGBrgb(33, 125, 40)
HSLhsl(125, 58%, 31%)
HSVhsv(125, 74%, 49%)
CMYKcmyk(73.6%, 0%, 68%, 51%)
CIE-LABlab(45.83, -44.29, 37.50)
CIE-LCHlch(45.83, 58.04, 139.74°)
OKLaboklab(51.84% -0.1199 0.0868)
OKLCHoklch(51.84% 0.148 144.1)
XYZxyz(8.3433, 15.1428, 4.4902)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D28 #7D2176
analogous
#487D21 #217D28 #217D56
triadic
#217D28 #28217D #7D2821
tetradic
#217D28 #21487D #7D2176 #7D5621
square
#217D28 #21487D #7D2176 #7D5621
split-complementary
#217D28 #56217D #7D2148
monochromatic
#071C09 #144D19 #217D28 #2EAD37 #49CF54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217D28#FFFFFF#000000##FFFFFF
##217D281.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)
#7F711D
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d28;
/* rgb */ color: rgb(33, 125, 40);
/* oklch */ color: oklch(51.8% 0.148 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ba466',
    500: '#217d28',
    950: '#000000',
  },
}
SCSS
$custom: #217d28;
$custom-light: #6ba466;
$custom-dark: #000000;
JSON
{
  "hex": "#217d28",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 124.565,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.14804,
    "h": 144.1
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#217D28
secondary
#B04AA8
accent
#46D6E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217D28

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

Preview Lab → · Contrast checker → · Palette generator →

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