#215818#215818

#215818 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.112 H 141.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#215818
RGBrgb(33, 88, 24)
HSLhsl(112, 57%, 22%)
HSVhsv(112, 73%, 35%)
CMYKcmyk(62.5%, 0%, 72.7%, 65.5%)
CIE-LABlab(32.63, -31.71, 30.55)
CIE-LCHlch(32.63, 44.03, 136.07°)
OKLaboklab(40.87% -0.0867 0.0702)
OKLCHoklch(40.87% 0.112 141)
XYZxyz(4.2816, 7.3683, 2.0606)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215818 #4F1858
analogous
#415818 #215818 #18582F
triadic
#215818 #182158 #581821
tetradic
#215818 #184158 #4F1858 #582F18
square
#215818 #184158 #4F1858 #582F18
split-complementary
#215818 #2F1858 #581841
monochromatic
#091807 #0F280B #215818 #338825 #45B832

Accessibility & contrast

On white

8.49
#215818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#215818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215818
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215818#FFFFFF#000000##FFFFFF
##2158181.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A500F
Deuteranopia (green-blind)
#534B1E
Tritanopia (blue-blind)
#19554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #215818;
/* rgb */ color: rgb(33, 88, 24);
/* oklch */ color: oklch(40.9% 0.112 141.0);
Tailwind
colors: {
  custom: {
    50: '#638858',
    500: '#215818',
    950: '#000000',
  },
}
SCSS
$custom: #215818;
$custom-light: #638858;
$custom-dark: #000000;
JSON
{
  "hex": "#215818",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 111.563,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40869,
    "c": 0.11154,
    "h": 141
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#215818
secondary
#833D8F
accent
#47E0CB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215818

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

Preview Lab → · Contrast checker → · Palette generator →

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