#217228#217228

#217228 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.134 H 144.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#217228
RGBrgb(33, 114, 40)
HSLhsl(125, 55%, 29%)
HSVhsv(125, 71%, 45%)
CMYKcmyk(71.1%, 0%, 64.9%, 55.3%)
CIE-LABlab(42.02, -40.22, 33.26)
CIE-LCHlch(42.02, 52.19, 140.41°)
OKLaboklab(48.68% -0.1088 0.0778)
OKLCHoklch(48.68% 0.134 144.4)
XYZxyz(7.0271, 12.5104, 4.0515)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217228 #72216B
analogous
#437221 #217228 #217251
triadic
#217228 #282172 #722821
tetradic
#217228 #214372 #72216B #725121
square
#217228 #214372 #72216B #725121
split-complementary
#217228 #512172 #722143
monochromatic
#071808 #134317 #217228 #2FA139 #44C950

Accessibility & contrast

On white

6.00
#217228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#217228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217228
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217228#FFFFFF#000000##FFFFFF
##2172281.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6A612E
Tritanopia (blue-blind)
#086F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217228;
/* rgb */ color: rgb(33, 114, 40);
/* oklch */ color: oklch(48.7% 0.134 144.4);
Tailwind
colors: {
  custom: {
    50: '#699b65',
    500: '#217228',
    950: '#000000',
  },
}
SCSS
$custom: #217228;
$custom-light: #699b65;
$custom-dark: #000000;
JSON
{
  "hex": "#217228",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 125.185,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48678,
    "c": 0.1338,
    "h": 144.4
  },
  "luminance": 0.12511
}

Semantic roles & 50–950 ramp

primary
#217228
secondary
#A5499D
accent
#49D2DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #217228

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

Preview Lab → · Contrast checker → · Palette generator →

#217228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva