#215218#215218

#215218 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.103 H 140.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#215218
RGBrgb(33, 82, 24)
HSLhsl(111, 55%, 21%)
HSVhsv(111, 71%, 32%)
CMYKcmyk(59.8%, 0%, 70.7%, 67.8%)
CIE-LABlab(30.46, -29.14, 28.19)
CIE-LCHlch(30.46, 40.55, 135.94°)
OKLaboklab(39.08% -0.0797 0.0652)
OKLCHoklch(39.08% 0.103 140.7)
XYZxyz(3.8092, 6.4236, 1.9031)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215218 #491852
analogous
#3E5218 #215218 #18522C
triadic
#215218 #182152 #521821
tetradic
#215218 #183E52 #491852 #522C18
square
#215218 #183E52 #491852 #522C18
split-complementary
#215218 #2C1852 #52183E
monochromatic
#0A1807 #0E230A #215218 #348126 #47B134

Accessibility & contrast

On white

9.19
#215218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#215218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215218
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215218#FFFFFF#000000##FFFFFF
##2152181.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#1B4F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #215218;
/* rgb */ color: rgb(33, 82, 24);
/* oklch */ color: oklch(39.1% 0.103 140.7);
Tailwind
colors: {
  custom: {
    50: '#628358',
    500: '#215218',
    950: '#000000',
  },
}
SCSS
$custom: #215218;
$custom-light: #628358;
$custom-dark: #000000;
JSON
{
  "hex": "#215218",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 110.69,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39077,
    "c": 0.103,
    "h": 140.7
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#215218
secondary
#7D3D89
accent
#4ADEC7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #215218

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

Preview Lab → · Contrast checker → · Palette generator →

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