#22877C#22877C

#22877C is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.5% C 0.091 H 184.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#22877C
RGBrgb(34, 135, 124)
HSLhsl(173, 60%, 33%)
HSVhsv(173, 75%, 53%)
CMYKcmyk(74.8%, 0%, 8.1%, 47.1%)
CIE-LABlab(50.83, -30.71, -2.27)
CIE-LCHlch(50.83, 30.79, 184.22°)
OKLaboklab(56.49% -0.0903 -0.0066)
OKLCHoklch(56.49% 0.091 184.2)
XYZxyz(12.9600, 19.1217, 22.0727)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22877C #87222D
analogous
#228749 #22877C #225F87
triadic
#22877C #7C2287 #877C22
tetradic
#22877C #492287 #87222D #5F8722
square
#22877C #492287 #87222D #5F8722
split-complementary
#22877C #87225F #874922
monochromatic
#092522 #16564F #22877C #2EB8A9 #50D3C5

Accessibility & contrast

On white

4.35
#22877C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#22877C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22877C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22877C#FFFFFF#000000##000000
##22877C1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#72757D
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #22877c;
/* rgb */ color: rgb(34, 135, 124);
/* oklch */ color: oklch(56.5% 0.091 184.2);
Tailwind
colors: {
  custom: {
    50: '#6eaaa1',
    500: '#22877c',
    950: '#000000',
  },
}
SCSS
$custom: #22877c;
$custom-light: #6eaaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#22877c",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 173.465,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.09059,
    "h": 184.2
  },
  "luminance": 0.19123
}

Semantic roles & 50–950 ramp

primary
#22877C
secondary
#B74E5A
accent
#4556E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #22877C

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

Preview Lab → · Contrast checker → · Palette generator →

#22877C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva