#228E78#228E78

#228E78 is a mid, moderate teal. Relative luminance 0.210; OKLCH L 58.2% C 0.100 H 175.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#228E78
RGBrgb(34, 142, 120)
HSLhsl(168, 61%, 35%)
HSVhsv(168, 76%, 56%)
CMYKcmyk(76.1%, 0%, 15.5%, 44.3%)
CIE-LABlab(52.99, -35.09, 3.21)
CIE-LCHlch(52.99, 35.24, 174.77°)
OKLaboklab(58.22% -0.0997 0.008)
OKLCHoklch(58.22% 0.1 175.4)
XYZxyz(13.7211, 21.0405, 21.1037)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228E78 #8E2238
analogous
#228E42 #228E78 #226E8E
triadic
#228E78 #78228E #8E7822
tetradic
#228E78 #42228E #8E2238 #6E8E22
square
#228E78 #42228E #8E2238 #6E8E22
split-complementary
#228E78 #8E226E #8E4222
monochromatic
#0A2B25 #165D4E #228E78 #2EBFA2 #54D6BC

Accessibility & contrast

On white

4.03
#228E78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#228E78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228E78
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228E78#FFFFFF#000000##000000
##228E781.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#898577
Deuteranopia (green-blind)
#7A7A7A
Tritanopia (blue-blind)
#009087
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #228e78;
/* rgb */ color: rgb(34, 142, 120);
/* oklch */ color: oklch(58.2% 0.100 175.4);
Tailwind
colors: {
  custom: {
    50: '#6fb09e',
    500: '#228e78',
    950: '#000000',
  },
}
SCSS
$custom: #228e78;
$custom-light: #6fb09e;
$custom-dark: #000000;
JSON
{
  "hex": "#228e78",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 120
  },
  "hsl": {
    "h": 167.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58219,
    "c": 0.10003,
    "h": 175.4
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#228E78
secondary
#BA5267
accent
#4364E4
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228E78

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

Preview Lab → · Contrast checker → · Palette generator →

#228E78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva