#228878#228878

#228878 is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.6% C 0.093 H 179.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#228878
RGBrgb(34, 136, 120)
HSLhsl(171, 60%, 33%)
HSVhsv(171, 75%, 53%)
CMYKcmyk(75%, 0%, 11.8%, 46.7%)
CIE-LABlab(51.04, -32.33, 0.37)
CIE-LCHlch(51.04, 32.33, 179.34°)
OKLaboklab(56.62% -0.0934 0.0005)
OKLCHoklch(56.62% 0.093 179.7)
XYZxyz(12.8523, 19.3029, 20.8141)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228878 #882232
analogous
#228845 #228878 #226588
triadic
#228878 #782288 #887822
tetradic
#228878 #452288 #882232 #658822
square
#228878 #452288 #882232 #658822
split-complementary
#228878 #882265 #884522
monochromatic
#0A2622 #16574D #228878 #2EB9A3 #51D3BF

Accessibility & contrast

On white

4.32
#228878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#228878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228878
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228878#FFFFFF#000000##000000
##2288781.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#828077
Deuteranopia (green-blind)
#747579
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228878;
/* rgb */ color: rgb(34, 136, 120);
/* oklch */ color: oklch(56.6% 0.093 179.7);
Tailwind
colors: {
  custom: {
    50: '#6eab9e',
    500: '#228878',
    950: '#000000',
  },
}
SCSS
$custom: #228878;
$custom-light: #6eab9e;
$custom-dark: #000000;
JSON
{
  "hex": "#228878",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 120
  },
  "hsl": {
    "h": 170.588,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.09337,
    "h": 179.7
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#228878
secondary
#B74F5F
accent
#455EE3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228878

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

Preview Lab → · Contrast checker → · Palette generator →

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