#22987F#22987F

#22987F is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.1% C 0.107 H 174.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#22987F
RGBrgb(34, 152, 127)
HSLhsl(167, 63%, 36%)
HSVhsv(167, 78%, 60%)
CMYKcmyk(77.6%, 0%, 16.4%, 40.4%)
CIE-LABlab(56.41, -37.69, 4.14)
CIE-LCHlch(56.41, 37.92, 173.74°)
OKLaboklab(61.08% -0.1067 0.0104)
OKLCHoklch(61.08% 0.107 174.4)
XYZxyz(15.7167, 24.3269, 23.9418)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22987F #98223B
analogous
#229844 #22987F #227698
triadic
#22987F #7F2298 #987F22
tetradic
#22987F #442298 #98223B #769822
square
#22987F #442298 #98223B #769822
split-complementary
#22987F #982276 #984422
monochromatic
#0C342B #176655 #22987F #2DCAA9 #5ADABF

Accessibility & contrast

On white

3.58
#22987F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#22987F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #22987F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22987F#FFFFFF#000000##000000
##22987F1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928E7E
Deuteranopia (green-blind)
#838381
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #22987f;
/* rgb */ color: rgb(34, 152, 127);
/* oklch */ color: oklch(61.1% 0.107 174.4);
Tailwind
colors: {
  custom: {
    50: '#71b7a4',
    500: '#22987f',
    950: '#000000',
  },
}
SCSS
$custom: #22987f;
$custom-light: #71b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22987f",
  "rgb": {
    "r": 34,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 167.288,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.10716,
    "h": 174.4
  },
  "luminance": 0.24329
}

Semantic roles & 50–950 ramp

primary
#22987F
secondary
#BE576D
accent
#4164E6
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #22987F

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

Preview Lab → · Contrast checker → · Palette generator →

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