#215F2A#215F2A

#215F2A is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.105 H 146.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#215F2A
RGBrgb(33, 95, 42)
HSLhsl(129, 48%, 25%)
HSVhsv(129, 65%, 37%)
CMYKcmyk(65.3%, 0%, 55.8%, 62.7%)
CIE-LABlab(35.35, -32.29, 24.38)
CIE-LCHlch(35.35, 40.46, 142.95°)
OKLaboklab(43.18% -0.0873 0.0587)
OKLCHoklch(43.18% 0.105 146.1)
XYZxyz(5.1370, 8.6744, 3.5937)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215F2A #5F2156
analogous
#375F21 #215F2A #215F49
triadic
#215F2A #2A215F #5F2A21
tetradic
#215F2A #21375F #5F2156 #5F4921
square
#215F2A #21375F #5F2156 #5F4921
split-complementary
#215F2A #49215F #5F2137
monochromatic
#08170A #113216 #215F2A #318C3E #41BA52

Accessibility & contrast

On white

7.68
#215F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#215F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215F2A
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215F2A#FFFFFF#000000##FFFFFF
##215F2A1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#125D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #215f2a;
/* rgb */ color: rgb(33, 95, 42);
/* oklch */ color: oklch(43.2% 0.105 146.1);
Tailwind
colors: {
  custom: {
    50: '#648d65',
    500: '#215f2a',
    950: '#000000',
  },
}
SCSS
$custom: #215f2a;
$custom-light: #648d65;
$custom-dark: #000000;
JSON
{
  "hex": "#215f2a",
  "rgb": {
    "r": 33,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 128.71,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43179,
    "c": 0.10522,
    "h": 146.1
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#215F2A
secondary
#934988
accent
#50C4D8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #215F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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