#217A28#217A28

#217A28 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.144 H 144.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#217A28
RGBrgb(33, 122, 40)
HSLhsl(125, 57%, 30%)
HSVhsv(125, 73%, 48%)
CMYKcmyk(73%, 0%, 67.2%, 52.2%)
CIE-LABlab(44.79, -43.20, 36.36)
CIE-LCHlch(44.79, 56.47, 139.91°)
OKLaboklab(50.98% -0.1169 0.0844)
OKLCHoklch(50.98% 0.144 144.2)
XYZxyz(7.9692, 14.3947, 4.3655)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A28 #7A2173
analogous
#467A21 #217A28 #217A54
triadic
#217A28 #28217A #7A2821
tetradic
#217A28 #21467A #7A2173 #7A5421
square
#217A28 #21467A #7A2173 #7A5421
split-complementary
#217A28 #54217A #7A2146
monochromatic
#071A08 #144A18 #217A28 #2EAA38 #48CD52

Accessibility & contrast

On white

5.41
#217A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#217A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A28
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A28#FFFFFF#000000##FFFFFF
##217A281.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#017769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a28;
/* rgb */ color: rgb(33, 122, 40);
/* oklch */ color: oklch(51.0% 0.144 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ba166',
    500: '#217a28',
    950: '#000000',
  },
}
SCSS
$custom: #217a28;
$custom-light: #6ba166;
$custom-dark: #000000;
JSON
{
  "hex": "#217a28",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 124.719,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50978,
    "c": 0.14423,
    "h": 144.2
  },
  "luminance": 0.14396
}

Semantic roles & 50–950 ramp

primary
#217A28
secondary
#AD4AA5
accent
#47D5E1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #217A28

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

Preview Lab → · Contrast checker → · Palette generator →

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