#215717#215717

#215717 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.111 H 140.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#215717
RGBrgb(33, 87, 23)
HSLhsl(111, 58%, 22%)
HSVhsv(111, 74%, 34%)
CMYKcmyk(62.1%, 0%, 73.6%, 65.9%)
CIE-LABlab(32.26, -31.39, 30.62)
CIE-LCHlch(32.26, 43.85, 135.72°)
OKLaboklab(40.56% -0.0859 0.0702)
OKLCHoklch(40.56% 0.111 140.8)
XYZxyz(4.1899, 7.2012, 1.9796)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215717 #4D1757
analogous
#415717 #215717 #17572D
triadic
#215717 #172157 #571721
tetradic
#215717 #174157 #4D1757 #572D17
square
#215717 #174157 #4D1757 #572D17
split-complementary
#215717 #2D1757 #571741
monochromatic
#091806 #0F270A #215717 #338724 #46B831

Accessibility & contrast

On white

8.61
#215717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#215717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215717
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215717#FFFFFF#000000##FFFFFF
##2157171.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F0E
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#1A544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #215717;
/* rgb */ color: rgb(33, 87, 23);
/* oklch */ color: oklch(40.6% 0.111 140.8);
Tailwind
colors: {
  custom: {
    50: '#638758',
    500: '#215717',
    950: '#000000',
  },
}
SCSS
$custom: #215717;
$custom-light: #638758;
$custom-dark: #000000;
JSON
{
  "hex": "#215717",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 110.625,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.11093,
    "h": 140.8
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#215717
secondary
#813C8E
accent
#46E1C9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215717

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

Preview Lab → · Contrast checker → · Palette generator →

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