#215D1F#215D1F

#215D1F is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.113 H 142.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#215D1F
RGBrgb(33, 93, 31)
HSLhsl(118, 50%, 24%)
HSVhsv(118, 67%, 36%)
CMYKcmyk(64.5%, 0%, 66.7%, 63.5%)
CIE-LABlab(34.50, -33.00, 29.21)
CIE-LCHlch(34.50, 44.07, 138.49°)
OKLaboklab(42.43% -0.0898 0.0682)
OKLCHoklch(42.43% 0.113 142.8)
XYZxyz(4.7886, 8.2505, 2.6362)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215D1F #5B1F5D
analogous
#405D1F #215D1F #1F5D3C
triadic
#215D1F #1F215D #5D1F21
tetradic
#215D1F #1F405D #5B1F5D #5D3C1F
square
#215D1F #1F405D #5B1F5D #5D3C1F
split-complementary
#215D1F #3C1F5D #5D1F40
monochromatic
#081708 #112F10 #215D1F #318B2E #42B93E

Accessibility & contrast

On white

7.92
#215D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#215D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215D1F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215D1F#FFFFFF#000000##FFFFFF
##215D1F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5418
Deuteranopia (green-blind)
#584F24
Tritanopia (blue-blind)
#165A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #215d1f;
/* rgb */ color: rgb(33, 93, 31);
/* oklch */ color: oklch(42.4% 0.113 142.8);
Tailwind
colors: {
  custom: {
    50: '#648b5d',
    500: '#215d1f',
    950: '#000000',
  },
}
SCSS
$custom: #215d1f;
$custom-light: #648b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#215d1f",
  "rgb": {
    "r": 33,
    "g": 93,
    "b": 31
  },
  "hsl": {
    "h": 118.065,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.42433,
    "c": 0.11272,
    "h": 142.8
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#215D1F
secondary
#8F4692
accent
#4EDAD5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #215D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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