#216828#216828

#216828 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.120 H 144.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#216828
RGBrgb(33, 104, 40)
HSLhsl(126, 52%, 27%)
HSVhsv(126, 68%, 41%)
CMYKcmyk(68.3%, 0%, 61.5%, 59.2%)
CIE-LABlab(38.51, -36.31, 29.23)
CIE-LCHlch(38.51, 46.61, 141.17°)
OKLaboklab(45.78% -0.0983 0.0691)
OKLCHoklch(45.78% 0.12 144.9)
XYZxyz(5.9601, 10.3766, 3.6958)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#216828 #682161
analogous
#3E6821 #216828 #21684C
triadic
#216828 #282168 #682821
tetradic
#216828 #213E68 #682161 #684C21
square
#216828 #213E68 #682161 #684C21
split-complementary
#216828 #4C2168 #68213E
monochromatic
#071709 #123A16 #216828 #30963A #41C34E

Accessibility & contrast

On white

6.83
#216828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#216828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #216828
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##216828#FFFFFF#000000##FFFFFF
##2168281.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E22
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#0F655A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #216828;
/* rgb */ color: rgb(33, 104, 40);
/* oklch */ color: oklch(45.8% 0.120 144.9);
Tailwind
colors: {
  custom: {
    50: '#669464',
    500: '#216828',
    950: '#000000',
  },
}
SCSS
$custom: #216828;
$custom-light: #669464;
$custom-dark: #000000;
JSON
{
  "hex": "#216828",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 40
  },
  "hsl": {
    "h": 125.915,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.12016,
    "h": 144.9
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#216828
secondary
#9C4994
accent
#4DCDDB
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #216828

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

Preview Lab → · Contrast checker → · Palette generator →

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