#22877F#22877F

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

Color values

HEX#22877F
RGBrgb(34, 135, 127)
HSLhsl(175, 60%, 33%)
HSVhsv(175, 75%, 53%)
CMYKcmyk(74.8%, 0%, 5.9%, 47.1%)
CIE-LABlab(50.92, -29.82, -3.88)
CIE-LCHlch(50.92, 30.08, 187.42°)
OKLaboklab(56.59% -0.0889 -0.011)
OKLCHoklch(56.59% 0.09 187)
XYZxyz(13.1526, 19.1988, 23.0871)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22877F #87222A
analogous
#22874D #22877F #225C87
triadic
#22877F #7F2287 #877F22
tetradic
#22877F #4D2287 #87222A #5C8722
square
#22877F #4D2287 #87222A #5C8722
split-complementary
#22877F #87225C #874D22
monochromatic
#092523 #165651 #22877F #2EB8AD #50D3C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22877F#FFFFFF#000000##000000
##22877F1.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: #22877f;
/* rgb */ color: rgb(34, 135, 127);
/* oklch */ color: oklch(56.6% 0.090 187.0);
Tailwind
colors: {
  custom: {
    50: '#6faaa4',
    500: '#22877f',
    950: '#000000',
  },
}
SCSS
$custom: #22877f;
$custom-light: #6faaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#22877f",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 175.248,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.08958,
    "h": 187
  },
  "luminance": 0.192
}

Semantic roles & 50–950 ramp

primary
#22877F
secondary
#B74E57
accent
#4551E3
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #22877F

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

Preview Lab → · Contrast checker → · Palette generator →

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