#215417#215417

#215417 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.107 H 140.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#215417
RGBrgb(33, 84, 23)
HSLhsl(110, 57%, 21%)
HSVhsv(110, 73%, 33%)
CMYKcmyk(60.7%, 0%, 72.6%, 67.1%)
CIE-LABlab(31.17, -30.12, 29.46)
CIE-LCHlch(31.17, 42.13, 135.63°)
OKLaboklab(39.66% -0.0824 0.0677)
OKLCHoklch(39.66% 0.107 140.6)
XYZxyz(3.9520, 6.7255, 1.9003)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215417 #4A1754
analogous
#3F5417 #215417 #17542B
triadic
#215417 #172154 #541721
tetradic
#215417 #173F54 #4A1754 #542B17
square
#215417 #173F54 #4A1754 #542B17
split-complementary
#215417 #2B1754 #54173F
monochromatic
#091807 #0E240A #215417 #348424 #47B431

Accessibility & contrast

On white

8.95
#215417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#215417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215417
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215417#FFFFFF#000000##FFFFFF
##2154171.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0F
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#1B5148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #215417;
/* rgb */ color: rgb(33, 84, 23);
/* oklch */ color: oklch(39.7% 0.107 140.6);
Tailwind
colors: {
  custom: {
    50: '#638557',
    500: '#215417',
    950: '#000000',
  },
}
SCSS
$custom: #215417;
$custom-light: #638557;
$custom-dark: #000000;
JSON
{
  "hex": "#215417",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 23
  },
  "hsl": {
    "h": 110.164,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.10671,
    "h": 140.6
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#215417
secondary
#7E3C8B
accent
#48E0C7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215417

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

Preview Lab → · Contrast checker → · Palette generator →

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