#21815F#21815F

#21815F is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.0% C 0.103 H 164.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#21815F
RGBrgb(33, 129, 95)
HSLhsl(159, 59%, 32%)
HSVhsv(159, 74%, 51%)
CMYKcmyk(74.4%, 0%, 26.4%, 49.4%)
CIE-LABlab(48.07, -35.93, 10.68)
CIE-LCHlch(48.07, 37.48, 163.44°)
OKLaboklab(53.97% -0.0988 0.0273)
OKLCHoklch(53.97% 0.103 164.6)
XYZxyz(10.5419, 16.8488, 13.5208)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21815F #812143
analogous
#21812F #21815F #217381
triadic
#21815F #5F2181 #815F21
tetradic
#21815F #2F2181 #812143 #738121
square
#21815F #2F2181 #812143 #738121
split-complementary
#21815F #812173 #812F21
monochromatic
#082017 #15503B #21815F #2DB283 #4BD1A2

Accessibility & contrast

On white

4.81
#21815F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#21815F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21815F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21815F#FFFFFF#000000##FFFFFF
##21815F1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E775D
Deuteranopia (green-blind)
#726E61
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #21815f;
/* rgb */ color: rgb(33, 129, 95);
/* oklch */ color: oklch(54.0% 0.103 164.6);
Tailwind
colors: {
  custom: {
    50: '#6ba68c',
    500: '#21815f',
    950: '#000000',
  },
}
SCSS
$custom: #21815f;
$custom-light: #6ba68c;
$custom-dark: #000000;
JSON
{
  "hex": "#21815f",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 95
  },
  "hsl": {
    "h": 158.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.10252,
    "h": 164.6
  },
  "luminance": 0.1685
}

Semantic roles & 50–950 ramp

primary
#21815F
secondary
#B44A70
accent
#457DE2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #21815F

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

Preview Lab → · Contrast checker → · Palette generator →

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