#228770#228770

#228770 is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.1% C 0.097 H 173.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#228770
RGBrgb(34, 135, 112)
HSLhsl(166, 60%, 33%)
HSVhsv(166, 75%, 53%)
CMYKcmyk(74.8%, 0%, 17%, 47.1%)
CIE-LABlab(50.50, -34.08, 4.24)
CIE-LCHlch(50.50, 34.34, 172.90°)
OKLaboklab(56.11% -0.0963 0.0107)
OKLCHoklch(56.11% 0.097 173.7)
XYZxyz(12.2468, 18.8364, 18.3164)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228770 #872239
analogous
#22873E #228770 #226B87
triadic
#228770 #702287 #877022
tetradic
#228770 #3E2287 #872239 #6B8722
square
#228770 #3E2287 #872239 #6B8722
split-complementary
#228770 #87226B #873E22
monochromatic
#09251F #165647 #228770 #2EB899 #50D3B5

Accessibility & contrast

On white

4.40
#228770 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#228770 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228770
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228770#FFFFFF#000000##000000
##2287701.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#827E6F
Deuteranopia (green-blind)
#757472
Tritanopia (blue-blind)
#008980
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228770;
/* rgb */ color: rgb(34, 135, 112);
/* oklch */ color: oklch(56.1% 0.097 173.7);
Tailwind
colors: {
  custom: {
    50: '#6daa99',
    500: '#228770',
    950: '#000000',
  },
}
SCSS
$custom: #228770;
$custom-light: #6daa99;
$custom-dark: #000000;
JSON
{
  "hex": "#228770",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 112
  },
  "hsl": {
    "h": 166.337,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56105,
    "c": 0.09686,
    "h": 173.7
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

primary
#228770
secondary
#B74E66
accent
#4569E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #228770

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

Preview Lab → · Contrast checker → · Palette generator →

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