#215917#215917

#215917 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.114 H 140.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#215917
RGBrgb(33, 89, 23)
HSLhsl(111, 59%, 22%)
HSVhsv(111, 74%, 35%)
CMYKcmyk(62.9%, 0%, 74.2%, 65.1%)
CIE-LABlab(32.98, -32.23, 31.38)
CIE-LCHlch(32.98, 44.99, 135.76°)
OKLaboklab(41.16% -0.0882 0.0718)
OKLCHoklch(41.16% 0.114 140.8)
XYZxyz(4.3540, 7.5296, 2.0343)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215917 #4F1759
analogous
#425917 #215917 #17592E
triadic
#215917 #172159 #591721
tetradic
#215917 #174259 #4F1759 #592E17
square
#215917 #174259 #4F1759 #592E17
split-complementary
#215917 #2E1759 #591742
monochromatic
#091806 #0F280A #215917 #338A24 #45BA30

Accessibility & contrast

On white

8.38
#215917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#215917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215917
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215917#FFFFFF#000000##FFFFFF
##2159171.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500D
Deuteranopia (green-blind)
#544C1D
Tritanopia (blue-blind)
#19564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #215917;
/* rgb */ color: rgb(33, 89, 23);
/* oklch */ color: oklch(41.2% 0.114 140.8);
Tailwind
colors: {
  custom: {
    50: '#648858',
    500: '#215917',
    950: '#000000',
  },
}
SCSS
$custom: #215917;
$custom-light: #648858;
$custom-dark: #000000;
JSON
{
  "hex": "#215917",
  "rgb": {
    "r": 33,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 110.909,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.11371,
    "h": 140.8
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#215917
secondary
#833C90
accent
#46E2CA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215917

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

Preview Lab → · Contrast checker → · Palette generator →

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