#228078#228078

#228078 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.5% C 0.085 H 186.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#228078
RGBrgb(34, 128, 120)
HSLhsl(175, 58%, 32%)
HSVhsv(175, 73%, 50%)
CMYKcmyk(73.4%, 0%, 6.3%, 49.8%)
CIE-LABlab(48.43, -28.50, -3.46)
CIE-LCHlch(48.43, 28.71, 186.92°)
OKLaboklab(54.49% -0.0848 -0.0098)
OKLCHoklch(54.49% 0.085 186.6)
XYZxyz(11.7674, 17.1331, 20.4525)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228078 #80222A
analogous
#228049 #228078 #225980
triadic
#228078 #782280 #807822
tetradic
#228078 #492280 #80222A #598022
square
#228078 #492280 #80222A #598022
split-complementary
#228078 #802259 #804922
monochromatic
#081F1D #15504B #228078 #2FB0A5 #4DD0C5

Accessibility & contrast

On white

4.74
#228078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#228078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228078
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228078#FFFFFF#000000##FFFFFF
##2280781.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797978
Deuteranopia (green-blind)
#6C6F79
Tritanopia (blue-blind)
#00837D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228078;
/* rgb */ color: rgb(34, 128, 120);
/* oklch */ color: oklch(54.5% 0.085 186.6);
Tailwind
colors: {
  custom: {
    50: '#6da59e',
    500: '#228078',
    950: '#000000',
  },
}
SCSS
$custom: #228078;
$custom-light: #6da59e;
$custom-dark: #000000;
JSON
{
  "hex": "#228078",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 120
  },
  "hsl": {
    "h": 174.894,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54493,
    "c": 0.08536,
    "h": 186.6
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

primary
#228078
secondary
#B24B54
accent
#4754E1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #228078

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

Preview Lab → · Contrast checker → · Palette generator →

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