#216217#216217

#216217 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.8% C 0.126 H 141.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#216217
RGBrgb(33, 98, 23)
HSLhsl(112, 62%, 24%)
HSVhsv(112, 77%, 38%)
CMYKcmyk(66.3%, 0%, 76.5%, 61.6%)
CIE-LABlab(36.21, -35.87, 34.74)
CIE-LCHlch(36.21, 49.94, 135.91°)
OKLaboklab(43.83% -0.098 0.0788)
OKLCHoklch(43.83% 0.126 141.2)
XYZxyz(5.1493, 9.1201, 2.2994)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#216217 #581762
analogous
#466217 #216217 #176232
triadic
#216217 #172162 #621721
tetradic
#216217 #174662 #581762 #623217
square
#216217 #174662 #581762 #623217
split-complementary
#216217 #321762 #621746
monochromatic
#081906 #10300B #216217 #329423 #42C52E

Accessibility & contrast

On white

7.44
#216217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#216217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #216217
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##216217#FFFFFF#000000##FFFFFF
##2162171.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65580A
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#165F53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #216217;
/* rgb */ color: rgb(33, 98, 23);
/* oklch */ color: oklch(43.8% 0.126 141.2);
Tailwind
colors: {
  custom: {
    50: '#668f59',
    500: '#216217',
    950: '#000000',
  },
}
SCSS
$custom: #216217;
$custom-light: #668f59;
$custom-dark: #000000;
JSON
{
  "hex": "#216217",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 112,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43827,
    "c": 0.12579,
    "h": 141.2
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#216217
secondary
#8C3C99
accent
#43E5CF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #216217

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

Preview Lab → · Contrast checker → · Palette generator →

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