#216227#216227

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

Color values

HEX#216227
RGBrgb(33, 98, 39)
HSLhsl(126, 50%, 26%)
HSVhsv(126, 66%, 38%)
CMYKcmyk(66.3%, 0%, 60.2%, 61.6%)
CIE-LABlab(36.38, -34.01, 27.24)
CIE-LCHlch(36.38, 43.57, 141.30°)
OKLaboklab(44.01% -0.0921 0.0647)
OKLCHoklch(44.01% 0.113 144.9)
XYZxyz(5.3608, 9.2047, 3.4132)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#216227 #62215C
analogous
#3B6221 #216227 #216247
triadic
#216227 #272162 #622721
tetradic
#216227 #213B62 #62215C #624721
square
#216227 #213B62 #62215C #624721
split-complementary
#216227 #472162 #62213B
monochromatic
#081709 #123415 #216227 #309039 #40BE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##216227#FFFFFF#000000##FFFFFF
##2162271.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)
#645921
Deuteranopia (green-blind)
#5C532C
Tritanopia (blue-blind)
#125F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #216227;
/* rgb */ color: rgb(33, 98, 39);
/* oklch */ color: oklch(44.0% 0.113 144.9);
Tailwind
colors: {
  custom: {
    50: '#658f63',
    500: '#216227',
    950: '#000000',
  },
}
SCSS
$custom: #216227;
$custom-light: #658f63;
$custom-dark: #000000;
JSON
{
  "hex": "#216227",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 125.538,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.11256,
    "h": 144.9
  },
  "luminance": 0.09205
}

Semantic roles & 50–950 ramp

primary
#216227
secondary
#96498F
accent
#4FCCD9
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #216227

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

Preview Lab → · Contrast checker → · Palette generator →

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