#228870#228870

#228870 is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.4% C 0.098 H 173.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#228870
RGBrgb(34, 136, 112)
HSLhsl(166, 60%, 33%)
HSVhsv(166, 75%, 53%)
CMYKcmyk(75%, 0%, 17.6%, 46.7%)
CIE-LABlab(50.82, -34.53, 4.71)
CIE-LCHlch(50.82, 34.85, 172.23°)
OKLaboklab(56.37% -0.0973 0.0119)
OKLCHoklch(56.37% 0.098 173)
XYZxyz(12.3870, 19.1168, 18.3632)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228870 #88223A
analogous
#22883D #228870 #226D88
triadic
#228870 #702288 #887022
tetradic
#228870 #3D2288 #88223A #6D8822
square
#228870 #3D2288 #88223A #6D8822
split-complementary
#228870 #88226D #883D22
monochromatic
#0A261F #165748 #228870 #2EB998 #51D3B5

Accessibility & contrast

On white

4.35
#228870 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#228870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228870
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228870#FFFFFF#000000##000000
##2288701.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F6F
Deuteranopia (green-blind)
#767572
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228870;
/* rgb */ color: rgb(34, 136, 112);
/* oklch */ color: oklch(56.4% 0.098 173.0);
Tailwind
colors: {
  custom: {
    50: '#6eab99',
    500: '#228870',
    950: '#000000',
  },
}
SCSS
$custom: #228870;
$custom-light: #6eab99;
$custom-dark: #000000;
JSON
{
  "hex": "#228870",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 112
  },
  "hsl": {
    "h": 165.882,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.09807,
    "h": 173
  },
  "luminance": 0.19118
}

Semantic roles & 50–950 ramp

primary
#228870
secondary
#B74F67
accent
#456AE3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #228870

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

Preview Lab → · Contrast checker → · Palette generator →

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