#228772#228772

#228772 is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.2% C 0.096 H 175.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228772
RGBrgb(34, 135, 114)
HSLhsl(168, 60%, 33%)
HSVhsv(168, 75%, 53%)
CMYKcmyk(74.8%, 0%, 15.6%, 47.1%)
CIE-LABlab(50.55, -33.53, 3.15)
CIE-LCHlch(50.55, 33.68, 174.63°)
OKLaboklab(56.17% -0.0953 0.0078)
OKLCHoklch(56.17% 0.096 175.3)
XYZxyz(12.3594, 18.8815, 18.9094)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228772 #872237
analogous
#228740 #228772 #226987
triadic
#228772 #722287 #877222
tetradic
#228772 #402287 #872237 #698722
square
#228772 #402287 #872237 #698722
split-complementary
#228772 #872269 #874022
monochromatic
#09251F #165649 #228772 #2EB89B #50D3B8

Accessibility & contrast

On white

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

On black

4.78
#228772 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228772
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228772#FFFFFF#000000##000000
##2287721.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#827E71
Deuteranopia (green-blind)
#747474
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228772;
/* rgb */ color: rgb(34, 135, 114);
/* oklch */ color: oklch(56.2% 0.096 175.3);
Tailwind
colors: {
  custom: {
    50: '#6eaa9a',
    500: '#228772',
    950: '#000000',
  },
}
SCSS
$custom: #228772;
$custom-light: #6eaa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#228772",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 114
  },
  "hsl": {
    "h": 167.525,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56166,
    "c": 0.09559,
    "h": 175.3
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

primary
#228772
secondary
#B74E64
accent
#4566E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228772

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

Preview Lab → · Contrast checker → · Palette generator →

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