#215D17#215D17

#215D17 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.119 H 141.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#215D17
RGBrgb(33, 93, 23)
HSLhsl(111, 60%, 23%)
HSVhsv(111, 75%, 36%)
CMYKcmyk(64.5%, 0%, 75.3%, 63.5%)
CIE-LABlab(34.42, -33.87, 32.89)
CIE-LCHlch(34.42, 47.22, 135.84°)
OKLaboklab(42.35% -0.0926 0.075)
OKLCHoklch(42.35% 0.119 141)
XYZxyz(4.6960, 8.2135, 2.1483)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215D17 #53175D
analogous
#445D17 #215D17 #175D30
triadic
#215D17 #17215D #5D1721
tetradic
#215D17 #17445D #53175D #5D3017
square
#215D17 #17445D #53175D #5D3017
split-complementary
#215D17 #30175D #5D1744
monochromatic
#091906 #102C0B #215D17 #328E23 #44BF2F

Accessibility & contrast

On white

7.95
#215D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#215D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215D17
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215D17#FFFFFF#000000##FFFFFF
##215D171.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540C
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#185A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #215d17;
/* rgb */ color: rgb(33, 93, 23);
/* oklch */ color: oklch(42.3% 0.119 141.0);
Tailwind
colors: {
  custom: {
    50: '#658b59',
    500: '#215d17',
    950: '#000000',
  },
}
SCSS
$custom: #215d17;
$custom-light: #658b59;
$custom-dark: #000000;
JSON
{
  "hex": "#215d17",
  "rgb": {
    "r": 33,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 111.429,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42347,
    "c": 0.11915,
    "h": 141
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#215D17
secondary
#873C94
accent
#44E3CD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #215D17

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

Preview Lab → · Contrast checker → · Palette generator →

#215D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva