#21877F#21877F

#21877F is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.6% C 0.090 H 187.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#21877F
RGBrgb(33, 135, 127)
HSLhsl(175, 61%, 33%)
HSVhsv(175, 76%, 53%)
CMYKcmyk(75.6%, 0%, 5.9%, 47.1%)
CIE-LABlab(50.90, -29.95, -3.91)
CIE-LCHlch(50.90, 30.21, 187.45°)
OKLaboklab(56.57% -0.0893 -0.0111)
OKLCHoklch(56.57% 0.09 187.1)
XYZxyz(13.1201, 19.1820, 23.0856)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21877F #872129
analogous
#21874C #21877F #215C87
triadic
#21877F #7F2187 #877F21
tetradic
#21877F #4C2187 #872129 #5C8721
square
#21877F #4C2187 #872129 #5C8721
split-complementary
#21877F #87215C #874C21
monochromatic
#092522 #155651 #21877F #2DB8AD #4FD4C9

Accessibility & contrast

On white

4.34
#21877F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#21877F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21877F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21877F#FFFFFF#000000##000000
##21877F1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7F7F
Deuteranopia (green-blind)
#717580
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #21877f;
/* rgb */ color: rgb(33, 135, 127);
/* oklch */ color: oklch(56.6% 0.090 187.1);
Tailwind
colors: {
  custom: {
    50: '#6eaaa4',
    500: '#21877f',
    950: '#000000',
  },
}
SCSS
$custom: #21877f;
$custom-light: #6eaaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#21877f",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 175.294,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.08997,
    "h": 187.1
  },
  "luminance": 0.19184
}

Semantic roles & 50–950 ramp

primary
#21877F
secondary
#B74D55
accent
#4450E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #21877F

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

Preview Lab → · Contrast checker → · Palette generator →

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