#216818#216818

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

Color values

HEX#216818
RGBrgb(33, 104, 24)
HSLhsl(113, 63%, 25%)
HSVhsv(113, 77%, 41%)
CMYKcmyk(68.3%, 0%, 76.9%, 59.2%)
CIE-LABlab(38.36, -38.10, 36.52)
CIE-LCHlch(38.36, 52.78, 136.22°)
OKLaboklab(45.6% -0.104 0.0827)
OKLCHoklch(45.6% 0.133 141.5)
XYZxyz(5.7421, 10.2893, 2.5474)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#216818 #5F1868
analogous
#496818 #216818 #186837
triadic
#216818 #182168 #681821
tetradic
#216818 #184968 #5F1868 #683718
square
#216818 #184968 #5F1868 #683718
split-complementary
#216818 #371868 #681849
monochromatic
#081906 #11360D #216818 #319A23 #41CB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##216818#FFFFFF#000000##FFFFFF
##2168181.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)
#6B5E0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#146558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #216818;
/* rgb */ color: rgb(33, 104, 24);
/* oklch */ color: oklch(45.6% 0.133 141.5);
Tailwind
colors: {
  custom: {
    50: '#67945b',
    500: '#216818',
    950: '#000000',
  },
}
SCSS
$custom: #216818;
$custom-light: #67945b;
$custom-dark: #000000;
JSON
{
  "hex": "#216818",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 113.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.13286,
    "h": 141.5
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#216818
secondary
#933E9E
accent
#42E6D3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #216818

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

Preview Lab → · Contrast checker → · Palette generator →

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