#21815C#21815C

#21815C is a mid, moderate teal. Relative luminance 0.168; OKLCH L 53.9% C 0.105 H 162.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#21815C
RGBrgb(33, 129, 92)
HSLhsl(157, 59%, 32%)
HSVhsv(157, 74%, 51%)
CMYKcmyk(74.4%, 0%, 28.7%, 49.4%)
CIE-LABlab(48.00, -36.66, 12.33)
CIE-LCHlch(48.00, 38.67, 161.41°)
OKLaboklab(53.9% -0.1004 0.0314)
OKLCHoklch(53.9% 0.105 162.6)
XYZxyz(10.4081, 16.7953, 12.8164)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21815C #812146
analogous
#21812C #21815C #217681
triadic
#21815C #5C2181 #815C21
tetradic
#21815C #2C2181 #812146 #768121
square
#21815C #2C2181 #812146 #768121
split-complementary
#21815C #812176 #812C21
monochromatic
#082016 #155039 #21815C #2DB27F #4BD19E

Accessibility & contrast

On white

4.82
#21815C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#21815C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21815C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21815C#FFFFFF#000000##FFFFFF
##21815C1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F775A
Deuteranopia (green-blind)
#736E5E
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #21815c;
/* rgb */ color: rgb(33, 129, 92);
/* oklch */ color: oklch(53.9% 0.105 162.6);
Tailwind
colors: {
  custom: {
    50: '#6ba68a',
    500: '#21815c',
    950: '#000000',
  },
}
SCSS
$custom: #21815c;
$custom-light: #6ba68a;
$custom-dark: #000000;
JSON
{
  "hex": "#21815c",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 92
  },
  "hsl": {
    "h": 156.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.10516,
    "h": 162.6
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

primary
#21815C
secondary
#B44A73
accent
#4582E2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #21815C

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

Preview Lab → · Contrast checker → · Palette generator →

#21815C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva