#216628#216628

#216628 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.2% C 0.117 H 145.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#216628
RGBrgb(33, 102, 40)
HSLhsl(126, 51%, 26%)
HSVhsv(126, 68%, 40%)
CMYKcmyk(67.6%, 0%, 60.8%, 60%)
CIE-LABlab(37.80, -35.51, 28.40)
CIE-LCHlch(37.80, 45.47, 141.34°)
OKLaboklab(45.2% -0.0961 0.0673)
OKLCHoklch(45.2% 0.117 145)
XYZxyz(5.7612, 9.9787, 3.6295)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#216628 #66215F
analogous
#3D6621 #216628 #21664B
triadic
#216628 #282166 #662821
tetradic
#216628 #213D66 #66215F #664B21
square
#216628 #213D66 #66215F #664B21
split-complementary
#216628 #4B2166 #66213D
monochromatic
#071709 #123816 #216628 #30943A #40C14D

Accessibility & contrast

On white

7.01
#216628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#216628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #216628
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##216628#FFFFFF#000000##FFFFFF
##2166281.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D22
Deuteranopia (green-blind)
#5F572D
Tritanopia (blue-blind)
#106358
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #216628;
/* rgb */ color: rgb(33, 102, 40);
/* oklch */ color: oklch(45.2% 0.117 145.0);
Tailwind
colors: {
  custom: {
    50: '#669264',
    500: '#216628',
    950: '#000000',
  },
}
SCSS
$custom: #216628;
$custom-light: #669264;
$custom-dark: #000000;
JSON
{
  "hex": "#216628",
  "rgb": {
    "r": 33,
    "g": 102,
    "b": 40
  },
  "hsl": {
    "h": 126.087,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45195,
    "c": 0.11734,
    "h": 145
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#216628
secondary
#9A4992
accent
#4DCCDB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #216628

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

Preview Lab → · Contrast checker → · Palette generator →

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