#215817#215817

#215817 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.112 H 140.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#215817
RGBrgb(33, 88, 23)
HSLhsl(111, 59%, 22%)
HSVhsv(111, 74%, 35%)
CMYKcmyk(62.5%, 0%, 73.9%, 65.5%)
CIE-LABlab(32.62, -31.81, 31.00)
CIE-LCHlch(32.62, 44.42, 135.74°)
OKLaboklab(40.86% -0.087 0.071)
OKLCHoklch(40.86% 0.112 140.8)
XYZxyz(4.2714, 7.3643, 2.0068)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215817 #4E1758
analogous
#425817 #215817 #17582E
triadic
#215817 #172158 #581721
tetradic
#215817 #174258 #4E1758 #582E17
square
#215817 #174258 #4E1758 #582E17
split-complementary
#215817 #2E1758 #581742
monochromatic
#091806 #0F270A #215817 #338924 #45B930

Accessibility & contrast

On white

8.49
#215817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#215817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215817
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215817#FFFFFF#000000##FFFFFF
##2158171.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A500E
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#1A554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #215817;
/* rgb */ color: rgb(33, 88, 23);
/* oklch */ color: oklch(40.9% 0.112 140.8);
Tailwind
colors: {
  custom: {
    50: '#648858',
    500: '#215817',
    950: '#000000',
  },
}
SCSS
$custom: #215817;
$custom-light: #648858;
$custom-dark: #000000;
JSON
{
  "hex": "#215817",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 110.769,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.11233,
    "h": 140.8
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#215817
secondary
#823C8F
accent
#46E2CA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215817

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

Preview Lab → · Contrast checker → · Palette generator →

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