#228871#228871

#228871 is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.4% C 0.097 H 173.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#228871
RGBrgb(34, 136, 113)
HSLhsl(166, 60%, 33%)
HSVhsv(166, 75%, 53%)
CMYKcmyk(75%, 0%, 16.9%, 46.7%)
CIE-LABlab(50.85, -34.26, 4.17)
CIE-LCHlch(50.85, 34.52, 173.06°)
OKLaboklab(56.4% -0.0968 0.0105)
OKLCHoklch(56.4% 0.097 173.8)
XYZxyz(12.4430, 19.1392, 18.6580)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228871 #882239
analogous
#22883E #228871 #226C88
triadic
#228871 #712288 #887122
tetradic
#228871 #3E2288 #882239 #6C8822
square
#228871 #3E2288 #882239 #6C8822
split-complementary
#228871 #88226C #883E22
monochromatic
#0A2620 #165748 #228871 #2EB99A #51D3B6

Accessibility & contrast

On white

4.35
#228871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#228871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228871
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228871#FFFFFF#000000##000000
##2288711.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F70
Deuteranopia (green-blind)
#767573
Tritanopia (blue-blind)
#008A81
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228871;
/* rgb */ color: rgb(34, 136, 113);
/* oklch */ color: oklch(56.4% 0.097 173.8);
Tailwind
colors: {
  custom: {
    50: '#6eab99',
    500: '#228871',
    950: '#000000',
  },
}
SCSS
$custom: #228871;
$custom-light: #6eab99;
$custom-dark: #000000;
JSON
{
  "hex": "#228871",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 113
  },
  "hsl": {
    "h": 166.471,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56404,
    "c": 0.09741,
    "h": 173.8
  },
  "luminance": 0.19141
}

Semantic roles & 50–950 ramp

primary
#228871
secondary
#B74F66
accent
#4568E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228871

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

Preview Lab → · Contrast checker → · Palette generator →

#228871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva