#21785F#21785F

#21785F is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.5% C 0.090 H 169.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#21785F
RGBrgb(33, 120, 95)
HSLhsl(163, 57%, 30%)
HSVhsv(163, 73%, 47%)
CMYKcmyk(72.5%, 0%, 20.8%, 52.9%)
CIE-LABlab(45.06, -31.88, 6.43)
CIE-LCHlch(45.06, 32.52, 168.60°)
OKLaboklab(51.5% -0.089 0.0164)
OKLCHoklch(51.5% 0.09 169.5)
XYZxyz(9.4082, 14.5814, 13.1429)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21785F #78213A
analogous
#217834 #21785F #216578
triadic
#21785F #5F2178 #785F21
tetradic
#21785F #342178 #78213A #657821
square
#21785F #342178 #78213A #657821
split-complementary
#21785F #782165 #783421
monochromatic
#071813 #144839 #21785F #2EA885 #47CCA6

Accessibility & contrast

On white

5.36
#21785F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#21785F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21785F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21785F#FFFFFF#000000##FFFFFF
##21785F1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705E
Deuteranopia (green-blind)
#696761
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21785f;
/* rgb */ color: rgb(33, 120, 95);
/* oklch */ color: oklch(51.5% 0.090 169.5);
Tailwind
colors: {
  custom: {
    50: '#699f8c',
    500: '#21785f',
    950: '#000000',
  },
}
SCSS
$custom: #21785f;
$custom-light: #699f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#21785f",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 95
  },
  "hsl": {
    "h": 162.759,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51503,
    "c": 0.09048,
    "h": 169.5
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#21785F
secondary
#AB4A66
accent
#4873E0
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #21785F

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

Preview Lab → · Contrast checker → · Palette generator →

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