#215B40#215B40

#215B40 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.5% C 0.076 H 160.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#215B40
RGBrgb(33, 91, 64)
HSLhsl(152, 47%, 24%)
HSVhsv(152, 64%, 36%)
CMYKcmyk(63.7%, 0%, 29.7%, 64.3%)
CIE-LABlab(34.35, -26.07, 10.07)
CIE-LCHlch(34.35, 27.94, 158.87°)
OKLaboklab(42.49% -0.0714 0.0257)
OKLCHoklch(42.49% 0.076 160.2)
XYZxyz(5.2932, 8.1752, 6.1485)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215B40 #5B213C
analogous
#215B23 #215B40 #21595B
triadic
#215B40 #40215B #5B4021
tetradic
#215B40 #23215B #5B213C #595B21
square
#215B40 #23215B #5B213C #595B21
split-complementary
#215B40 #5B2159 #5B2321
monochromatic
#081610 #112E20 #215B40 #318860 #42B57F

Accessibility & contrast

On white

7.97
#215B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#215B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215B40
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215B40#FFFFFF#000000##FFFFFF
##215B401.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A543E
Deuteranopia (green-blind)
#524E42
Tritanopia (blue-blind)
#065B54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #215b40;
/* rgb */ color: rgb(33, 91, 64);
/* oklch */ color: oklch(42.5% 0.076 160.2);
Tailwind
colors: {
  custom: {
    50: '#638a75',
    500: '#215b40',
    950: '#000000',
  },
}
SCSS
$custom: #215b40;
$custom-light: #638a75;
$custom-dark: #000000;
JSON
{
  "hex": "#215b40",
  "rgb": {
    "r": 33,
    "g": 91,
    "b": 64
  },
  "hsl": {
    "h": 152.069,
    "s": 46.774,
    "l": 24.314
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.0759,
    "h": 160.2
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#215B40
secondary
#8F4969
accent
#518FD6
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #215B40

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

Preview Lab → · Contrast checker → · Palette generator →

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