#228A78#228A78

#228A78 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.2% C 0.096 H 178.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#228A78
RGBrgb(34, 138, 120)
HSLhsl(170, 60%, 34%)
HSVhsv(170, 75%, 54%)
CMYKcmyk(75.4%, 0%, 13%, 45.9%)
CIE-LABlab(51.69, -33.26, 1.32)
CIE-LCHlch(51.69, 33.29, 177.72°)
OKLaboklab(57.15% -0.0955 0.003)
OKLCHoklch(57.15% 0.096 178.2)
XYZxyz(13.1366, 19.8715, 20.9089)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A78 #8A2234
analogous
#228A44 #228A78 #22688A
triadic
#228A78 #78228A #8A7822
tetradic
#228A78 #44228A #8A2234 #688A22
square
#228A78 #44228A #8A2234 #688A22
split-complementary
#228A78 #8A2268 #8A4422
monochromatic
#0A2823 #16594D #228A78 #2EBBA3 #52D4BE

Accessibility & contrast

On white

4.22
#228A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#228A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A78
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A78#FFFFFF#000000##000000
##228A781.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#848177
Deuteranopia (green-blind)
#767779
Tritanopia (blue-blind)
#008C85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228a78;
/* rgb */ color: rgb(34, 138, 120);
/* oklch */ color: oklch(57.2% 0.096 178.2);
Tailwind
colors: {
  custom: {
    50: '#6ead9e',
    500: '#228a78',
    950: '#000000',
  },
}
SCSS
$custom: #228a78;
$custom-light: #6ead9e;
$custom-dark: #000000;
JSON
{
  "hex": "#228a78",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 120
  },
  "hsl": {
    "h": 169.615,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57154,
    "c": 0.09554,
    "h": 178.2
  },
  "luminance": 0.19873
}

Semantic roles & 50–950 ramp

primary
#228A78
secondary
#B85062
accent
#4460E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228A78

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

Preview Lab → · Contrast checker → · Palette generator →

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