#216228#216228

#216228 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.112 H 145.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#216228
RGBrgb(33, 98, 40)
HSLhsl(126, 50%, 26%)
HSVhsv(126, 66%, 38%)
CMYKcmyk(66.3%, 0%, 59.2%, 61.6%)
CIE-LABlab(36.39, -33.86, 26.72)
CIE-LCHlch(36.39, 43.14, 141.72°)
OKLaboklab(44.03% -0.0916 0.0637)
OKLCHoklch(44.03% 0.112 145.2)
XYZxyz(5.3775, 9.2114, 3.5017)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#216228 #62215B
analogous
#3A6221 #216228 #216248
triadic
#216228 #282162 #622821
tetradic
#216228 #213A62 #62215B #624821
square
#216228 #213A62 #62215B #624821
split-complementary
#216228 #482162 #62213A
monochromatic
#081709 #123415 #216228 #30903B #40BE4D

Accessibility & contrast

On white

7.39
#216228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#216228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #216228
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##216228#FFFFFF#000000##FFFFFF
##2162281.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645922
Deuteranopia (green-blind)
#5C532C
Tritanopia (blue-blind)
#125F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #216228;
/* rgb */ color: rgb(33, 98, 40);
/* oklch */ color: oklch(44.0% 0.112 145.2);
Tailwind
colors: {
  custom: {
    50: '#658f64',
    500: '#216228',
    950: '#000000',
  },
}
SCSS
$custom: #216228;
$custom-light: #658f64;
$custom-dark: #000000;
JSON
{
  "hex": "#216228",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 126.462,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44027,
    "c": 0.1116,
    "h": 145.2
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#216228
secondary
#96498E
accent
#4FCAD9
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #216228

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

Preview Lab → · Contrast checker → · Palette generator →

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