#21785B#21785B

#21785B is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.4% C 0.094 H 166.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#21785B
RGBrgb(33, 120, 91)
HSLhsl(160, 57%, 30%)
HSVhsv(160, 73%, 47%)
CMYKcmyk(72.5%, 0%, 24.2%, 52.9%)
CIE-LABlab(44.96, -32.91, 8.65)
CIE-LCHlch(44.96, 34.03, 165.27°)
OKLaboklab(51.39% -0.091 0.0221)
OKLCHoklch(51.39% 0.094 166.3)
XYZxyz(9.2310, 14.5106, 12.2098)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21785B #78213E
analogous
#21782F #21785B #216A78
triadic
#21785B #5B2178 #785B21
tetradic
#21785B #2F2178 #78213E #6A7821
square
#21785B #2F2178 #78213E #6A7821
split-complementary
#21785B #78216A #782F21
monochromatic
#071812 #144837 #21785B #2EA87F #47CCA0

Accessibility & contrast

On white

5.38
#21785B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#21785B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21785B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21785B#FFFFFF#000000##FFFFFF
##21785B1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756F59
Deuteranopia (green-blind)
#6A675D
Tritanopia (blue-blind)
#007870
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21785b;
/* rgb */ color: rgb(33, 120, 91);
/* oklch */ color: oklch(51.4% 0.094 166.3);
Tailwind
colors: {
  custom: {
    50: '#699f89',
    500: '#21785b',
    950: '#000000',
  },
}
SCSS
$custom: #21785b;
$custom-light: #699f89;
$custom-dark: #000000;
JSON
{
  "hex": "#21785b",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 91
  },
  "hsl": {
    "h": 160,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51389,
    "c": 0.09369,
    "h": 166.3
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#21785B
secondary
#AB4A6A
accent
#487AE0
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #21785B

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

Preview Lab → · Contrast checker → · Palette generator →

#21785B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva