#227872#227872

#227872 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.080 H 188.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#227872
RGBrgb(34, 120, 114)
HSLhsl(176, 56%, 30%)
HSVhsv(176, 72%, 47%)
CMYKcmyk(71.7%, 0%, 5%, 52.9%)
CIE-LABlab(45.62, -26.35, -4.06)
CIE-LCHlch(45.62, 26.66, 188.76°)
OKLaboklab(52.15% -0.079 -0.0114)
OKLCHoklch(52.15% 0.08 188.2)
XYZxyz(10.4120, 14.9867, 18.2603)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227872 #782228
analogous
#227847 #227872 #225378
triadic
#227872 #722278 #787222
tetradic
#227872 #472278 #782228 #537822
square
#227872 #472278 #782228 #537822
split-complementary
#227872 #782253 #784722
monochromatic
#071917 #144845 #227872 #30A89F #49CBC2

Accessibility & contrast

On white

5.25
#227872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#227872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227872
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227872#FFFFFF#000000##FFFFFF
##2278721.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717172
Deuteranopia (green-blind)
#656873
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227872;
/* rgb */ color: rgb(34, 120, 114);
/* oklch */ color: oklch(52.1% 0.080 188.2);
Tailwind
colors: {
  custom: {
    50: '#6b9f9a',
    500: '#227872',
    950: '#000000',
  },
}
SCSS
$custom: #227872;
$custom-light: #6b9f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#227872",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 114
  },
  "hsl": {
    "h": 175.814,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.07981,
    "h": 188.2
  },
  "luminance": 0.14988
}

Semantic roles & 50–950 ramp

primary
#227872
secondary
#AB4B52
accent
#4953DF
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #227872

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

Preview Lab → · Contrast checker → · Palette generator →

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