#22877B#22877B

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

Color values

HEX#22877B
RGBrgb(34, 135, 123)
HSLhsl(173, 60%, 33%)
HSVhsv(173, 75%, 53%)
CMYKcmyk(74.8%, 0%, 8.9%, 47.1%)
CIE-LABlab(50.80, -31.00, -1.73)
CIE-LCHlch(50.80, 31.05, 183.19°)
OKLaboklab(56.46% -0.0908 -0.0052)
OKLCHoklch(56.46% 0.091 183.3)
XYZxyz(12.8971, 19.0966, 21.7413)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22877B #87222E
analogous
#228748 #22877B #226087
triadic
#22877B #7B2287 #877B22
tetradic
#22877B #482287 #87222E #608722
square
#22877B #482287 #87222E #608722
split-complementary
#22877B #872260 #874822
monochromatic
#092522 #16564E #22877B #2EB8A8 #50D3C3

Accessibility & contrast

On white

4.36
#22877B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##22877B#FFFFFF#000000##000000
##22877B1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#22877B
secondary
#B74E5B
accent
#4558E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #22877B

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

Preview Lab → · Contrast checker → · Palette generator →

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