#215F40#215F40

#215F40 is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.6% C 0.082 H 158.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#215F40
RGBrgb(33, 95, 64)
HSLhsl(150, 48%, 25%)
HSVhsv(150, 65%, 37%)
CMYKcmyk(65.3%, 0%, 32.6%, 62.7%)
CIE-LABlab(35.75, -27.98, 12.01)
CIE-LCHlch(35.75, 30.44, 156.77°)
OKLaboklab(43.64% -0.0763 0.0304)
OKLCHoklch(43.64% 0.082 158.3)
XYZxyz(5.6443, 8.8774, 6.2655)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215F40 #5F2140
analogous
#215F21 #215F40 #215F5F
triadic
#215F40 #40215F #5F4021
tetradic
#215F40 #21215F #5F2140 #5F5F21
square
#215F40 #21215F #5F2140 #5F5F21
split-complementary
#215F40 #5F215F #5F2121
monochromatic
#08170F #113221 #215F40 #318C5F #41BA7D

Accessibility & contrast

On white

7.57
#215F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#215F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215F40
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215F40#FFFFFF#000000##FFFFFF
##215F401.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E583E
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#045E57
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #215f40;
/* rgb */ color: rgb(33, 95, 64);
/* oklch */ color: oklch(43.6% 0.082 158.3);
Tailwind
colors: {
  custom: {
    50: '#648d75',
    500: '#215f40',
    950: '#000000',
  },
}
SCSS
$custom: #215f40;
$custom-light: #648d75;
$custom-dark: #000000;
JSON
{
  "hex": "#215f40",
  "rgb": {
    "r": 33,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 150,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43636,
    "c": 0.08214,
    "h": 158.3
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#215F40
secondary
#93496E
accent
#5094D8
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #215F40

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

Preview Lab → · Contrast checker → · Palette generator →

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