#21775F#21775F

#21775F is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.2% C 0.089 H 170.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#21775F
RGBrgb(33, 119, 95)
HSLhsl(163, 57%, 30%)
HSVhsv(163, 72%, 47%)
CMYKcmyk(72.3%, 0%, 20.2%, 53.3%)
CIE-LABlab(44.72, -31.42, 5.95)
CIE-LCHlch(44.72, 31.97, 169.28°)
OKLaboklab(51.23% -0.0879 0.0152)
OKLCHoklch(51.23% 0.089 170.2)
XYZxyz(9.2885, 14.3422, 13.1030)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21775F #772139
analogous
#217734 #21775F #216477
triadic
#21775F #5F2177 #775F21
tetradic
#21775F #342177 #772139 #647721
square
#21775F #342177 #772139 #647721
split-complementary
#21775F #772164 #773421
monochromatic
#071813 #144739 #21775F #2EA785 #47CCA7

Accessibility & contrast

On white

5.43
#21775F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#21775F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21775F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21775F#FFFFFF#000000##FFFFFF
##21775F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746F5E
Deuteranopia (green-blind)
#686661
Tritanopia (blue-blind)
#007870
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21775f;
/* rgb */ color: rgb(33, 119, 95);
/* oklch */ color: oklch(51.2% 0.089 170.2);
Tailwind
colors: {
  custom: {
    50: '#699f8c',
    500: '#21775f',
    950: '#000000',
  },
}
SCSS
$custom: #21775f;
$custom-light: #699f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#21775f",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 95
  },
  "hsl": {
    "h": 163.256,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.08917,
    "h": 170.2
  },
  "luminance": 0.14343
}

Semantic roles & 50–950 ramp

primary
#21775F
secondary
#AA4A65
accent
#4872E0
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #21775F

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

Preview Lab → · Contrast checker → · Palette generator →

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