#217628#217628

#217628 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.139 H 144.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#217628
RGBrgb(33, 118, 40)
HSLhsl(125, 56%, 30%)
HSVhsv(125, 72%, 46%)
CMYKcmyk(72%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.41, -41.72, 34.82)
CIE-LCHlch(43.41, 54.35, 140.15°)
OKLaboklab(49.83% -0.1129 0.0812)
OKLCHoklch(49.83% 0.139 144.3)
XYZxyz(7.4882, 13.4326, 4.2052)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217628 #76216F
analogous
#457621 #217628 #217653
triadic
#217628 #282176 #762821
tetradic
#217628 #214576 #76216F #765321
square
#217628 #214576 #76216F #765321
split-complementary
#217628 #532176 #762145
monochromatic
#071808 #144618 #217628 #2EA638 #46CB51

Accessibility & contrast

On white

5.70
#217628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#217628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217628
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217628#FFFFFF#000000##FFFFFF
##2176281.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1F
Deuteranopia (green-blind)
#6E642F
Tritanopia (blue-blind)
#057366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #217628;
/* rgb */ color: rgb(33, 118, 40);
/* oklch */ color: oklch(49.8% 0.139 144.3);
Tailwind
colors: {
  custom: {
    50: '#6a9e65',
    500: '#217628',
    950: '#000000',
  },
}
SCSS
$custom: #217628;
$custom-light: #6a9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#217628",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 124.941,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.13906,
    "h": 144.3
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#217628
secondary
#A94AA1
accent
#48D3E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #217628

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

Preview Lab → · Contrast checker → · Palette generator →

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