#228070#228070

#228070 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.2% C 0.089 H 178.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228070
RGBrgb(34, 128, 112)
HSLhsl(170, 58%, 32%)
HSVhsv(170, 73%, 50%)
CMYKcmyk(73.4%, 0%, 12.5%, 49.8%)
CIE-LABlab(48.19, -30.82, 0.91)
CIE-LCHlch(48.19, 30.84, 178.31°)
OKLaboklab(54.22% -0.0887 0.0019)
OKLCHoklch(54.22% 0.089 178.8)
XYZxyz(11.3021, 16.9470, 18.0015)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228070 #802232
analogous
#228041 #228070 #226180
triadic
#228070 #702280 #807022
tetradic
#228070 #412280 #802232 #618022
square
#228070 #412280 #802232 #618022
split-complementary
#228070 #802261 #804122
monochromatic
#081F1B #155046 #228070 #2FB09A #4DD0B9

Accessibility & contrast

On white

4.78
#228070 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#228070 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228070
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228070#FFFFFF#000000##FFFFFF
##2280701.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B786F
Deuteranopia (green-blind)
#6E6E71
Tritanopia (blue-blind)
#00827B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228070;
/* rgb */ color: rgb(34, 128, 112);
/* oklch */ color: oklch(54.2% 0.089 178.8);
Tailwind
colors: {
  custom: {
    50: '#6ca599',
    500: '#228070',
    950: '#000000',
  },
}
SCSS
$custom: #228070;
$custom-light: #6ca599;
$custom-dark: #000000;
JSON
{
  "hex": "#228070",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 112
  },
  "hsl": {
    "h": 169.787,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54224,
    "c": 0.08875,
    "h": 178.8
  },
  "luminance": 0.16948
}

Semantic roles & 50–950 ramp

primary
#228070
secondary
#B24B5D
accent
#4761E1
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #228070

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

Preview Lab → · Contrast checker → · Palette generator →

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