#215517#215517

#215517 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.108 H 140.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#215517
RGBrgb(33, 85, 23)
HSLhsl(110, 57%, 21%)
HSVhsv(110, 73%, 33%)
CMYKcmyk(61.2%, 0%, 72.9%, 66.7%)
CIE-LABlab(31.54, -30.54, 29.84)
CIE-LCHlch(31.54, 42.70, 135.66°)
OKLaboklab(39.96% -0.0836 0.0686)
OKLCHoklch(39.96% 0.108 140.6)
XYZxyz(4.0302, 6.8818, 1.9264)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215517 #4B1755
analogous
#405517 #215517 #17552C
triadic
#215517 #172155 #551721
tetradic
#215517 #174055 #4B1755 #552C17
square
#215517 #174055 #4B1755 #552C17
split-complementary
#215517 #2C1755 #551740
monochromatic
#091807 #0E250A #215517 #348524 #46B531

Accessibility & contrast

On white

8.84
#215517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#215517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215517
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215517#FFFFFF#000000##FFFFFF
##2155171.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0F
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#1A5248
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #215517;
/* rgb */ color: rgb(33, 85, 23);
/* oklch */ color: oklch(40.0% 0.108 140.6);
Tailwind
colors: {
  custom: {
    50: '#638558',
    500: '#215517',
    950: '#000000',
  },
}
SCSS
$custom: #215517;
$custom-light: #638558;
$custom-dark: #000000;
JSON
{
  "hex": "#215517",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 23
  },
  "hsl": {
    "h": 110.323,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39963,
    "c": 0.10813,
    "h": 140.6
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#215517
secondary
#7F3C8C
accent
#47E1C8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215517

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

Preview Lab → · Contrast checker → · Palette generator →

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