#227876#227876

#227876 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.079 H 192.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#227876
RGBrgb(34, 120, 118)
HSLhsl(179, 56%, 30%)
HSVhsv(179, 72%, 47%)
CMYKcmyk(71.7%, 0%, 1.7%, 52.9%)
CIE-LABlab(45.74, -25.13, -6.25)
CIE-LCHlch(45.74, 25.89, 193.97°)
OKLaboklab(52.29% -0.077 -0.0174)
OKLCHoklch(52.29% 0.079 192.7)
XYZxyz(10.6447, 15.0798, 19.4857)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227876 #782224
analogous
#22784B #227876 #224F78
triadic
#227876 #762278 #787622
tetradic
#227876 #4B2278 #782224 #4F7822
square
#227876 #4B2278 #782224 #4F7822
split-complementary
#227876 #78224F #784B22
monochromatic
#071918 #144847 #227876 #30A8A5 #49CBC8

Accessibility & contrast

On white

5.23
#227876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#227876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227876
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227876#FFFFFF#000000##FFFFFF
##2278761.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707276
Deuteranopia (green-blind)
#646877
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227876;
/* rgb */ color: rgb(34, 120, 118);
/* oklch */ color: oklch(52.3% 0.079 192.7);
Tailwind
colors: {
  custom: {
    50: '#6b9f9d',
    500: '#227876',
    950: '#000000',
  },
}
SCSS
$custom: #227876;
$custom-light: #6b9f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#227876",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 118
  },
  "hsl": {
    "h": 178.605,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.07899,
    "h": 192.7
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

primary
#227876
secondary
#AB4B4D
accent
#494CDF
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #227876

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

Preview Lab → · Contrast checker → · Palette generator →

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