#215C17#215C17

#215C17 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.118 H 141.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#215C17
RGBrgb(33, 92, 23)
HSLhsl(111, 60%, 23%)
HSVhsv(111, 75%, 36%)
CMYKcmyk(64.1%, 0%, 75%, 63.9%)
CIE-LABlab(34.06, -33.47, 32.52)
CIE-LCHlch(34.06, 46.66, 135.82°)
OKLaboklab(42.05% -0.0915 0.0742)
OKLCHoklch(42.05% 0.118 141)
XYZxyz(4.6088, 8.0391, 2.1193)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215C17 #52175C
analogous
#445C17 #215C17 #175C2F
triadic
#215C17 #17215C #5C1721
tetradic
#215C17 #17445C #52175C #5C2F17
square
#215C17 #17445C #52175C #5C2F17
split-complementary
#215C17 #2F175C #5C1744
monochromatic
#091806 #0F2B0B #215C17 #338D23 #44BE2F

Accessibility & contrast

On white

8.05
#215C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#215C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215C17
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215C17#FFFFFF#000000##FFFFFF
##215C171.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530C
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#18594E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #215c17;
/* rgb */ color: rgb(33, 92, 23);
/* oklch */ color: oklch(42.0% 0.118 141.0);
Tailwind
colors: {
  custom: {
    50: '#648b58',
    500: '#215c17',
    950: '#000000',
  },
}
SCSS
$custom: #215c17;
$custom-light: #648b58;
$custom-dark: #000000;
JSON
{
  "hex": "#215c17",
  "rgb": {
    "r": 33,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 111.304,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4205,
    "c": 0.1178,
    "h": 141
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#215C17
secondary
#863C93
accent
#45E3CC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #215C17

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

Preview Lab → · Contrast checker → · Palette generator →

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