#216817#216817

#216817 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.134 H 141.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#216817
RGBrgb(33, 104, 23)
HSLhsl(113, 64%, 25%)
HSVhsv(113, 78%, 41%)
CMYKcmyk(68.3%, 0%, 77.9%, 59.2%)
CIE-LABlab(38.35, -38.19, 36.91)
CIE-LCHlch(38.35, 53.11, 135.98°)
OKLaboklab(45.59% -0.1043 0.0833)
OKLCHoklch(45.59% 0.134 141.4)
XYZxyz(5.7319, 10.2853, 2.4936)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#216817 #5E1768
analogous
#496817 #216817 #176836
triadic
#216817 #172168 #681721
tetradic
#216817 #174968 #5E1768 #683617
square
#216817 #174968 #5E1768 #683617
split-complementary
#216817 #361768 #681749
monochromatic
#081906 #11360C #216817 #319A22 #41CC2D

Accessibility & contrast

On white

6.87
#216817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#216817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #216817
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##216817#FFFFFF#000000##FFFFFF
##2168171.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#146558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #216817;
/* rgb */ color: rgb(33, 104, 23);
/* oklch */ color: oklch(45.6% 0.134 141.4);
Tailwind
colors: {
  custom: {
    50: '#67945a',
    500: '#216817',
    950: '#000000',
  },
}
SCSS
$custom: #216817;
$custom-light: #67945a;
$custom-dark: #000000;
JSON
{
  "hex": "#216817",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 112.593,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45594,
    "c": 0.13351,
    "h": 141.4
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#216817
secondary
#923D9E
accent
#41E7D2
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #216817

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

Preview Lab → · Contrast checker → · Palette generator →

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