#215317#215317

#215317 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.105 H 140.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#215317
RGBrgb(33, 83, 23)
HSLhsl(110, 57%, 21%)
HSVhsv(110, 72%, 33%)
CMYKcmyk(60.2%, 0%, 72.3%, 67.5%)
CIE-LABlab(30.81, -29.68, 29.06)
CIE-LCHlch(30.81, 41.54, 135.61°)
OKLaboklab(39.37% -0.0813 0.0669)
OKLCHoklch(39.37% 0.105 140.5)
XYZxyz(3.8749, 6.5714, 1.8747)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215317 #491753
analogous
#3F5317 #215317 #17532B
triadic
#215317 #172153 #531721
tetradic
#215317 #173F53 #491753 #532B17
square
#215317 #173F53 #491753 #532B17
split-complementary
#215317 #2B1753 #53173F
monochromatic
#0A1807 #0E230A #215317 #348324 #47B332

Accessibility & contrast

On white

9.07
#215317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#215317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215317
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215317#FFFFFF#000000##FFFFFF
##2153171.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0F
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#1B5047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #215317;
/* rgb */ color: rgb(33, 83, 23);
/* oklch */ color: oklch(39.4% 0.105 140.5);
Tailwind
colors: {
  custom: {
    50: '#628457',
    500: '#215317',
    950: '#000000',
  },
}
SCSS
$custom: #215317;
$custom-light: #628457;
$custom-dark: #000000;
JSON
{
  "hex": "#215317",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 110,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39365,
    "c": 0.10528,
    "h": 140.5
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#215317
secondary
#7D3C8A
accent
#48E0C7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #215317

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

Preview Lab → · Contrast checker → · Palette generator →

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