#228A7A#228A7A

#228A7A is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.2% C 0.095 H 179.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#228A7A
RGBrgb(34, 138, 122)
HSLhsl(171, 60%, 34%)
HSVhsv(171, 75%, 54%)
CMYKcmyk(75.4%, 0%, 11.6%, 45.9%)
CIE-LABlab(51.75, -32.70, 0.24)
CIE-LCHlch(51.75, 32.70, 179.57°)
OKLaboklab(57.22% -0.0945 0.0001)
OKLCHoklch(57.22% 0.095 179.9)
XYZxyz(13.2593, 19.9206, 21.5548)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A7A #8A2232
analogous
#228A46 #228A7A #22668A
triadic
#228A7A #7A228A #8A7A22
tetradic
#228A7A #46228A #8A2232 #668A22
square
#228A7A #46228A #8A2232 #668A22
split-complementary
#228A7A #8A2266 #8A4622
monochromatic
#0A2823 #16594F #228A7A #2EBBA5 #52D4C0

Accessibility & contrast

On white

4.21
#228A7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#228A7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A7A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A7A#FFFFFF#000000##000000
##228A7A1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848179
Deuteranopia (green-blind)
#76777B
Tritanopia (blue-blind)
#008C85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228a7a;
/* rgb */ color: rgb(34, 138, 122);
/* oklch */ color: oklch(57.2% 0.095 179.9);
Tailwind
colors: {
  custom: {
    50: '#6fada0',
    500: '#228a7a',
    950: '#000000',
  },
}
SCSS
$custom: #228a7a;
$custom-light: #6fada0;
$custom-dark: #000000;
JSON
{
  "hex": "#228a7a",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 122
  },
  "hsl": {
    "h": 170.769,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.09451,
    "h": 179.9
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#228A7A
secondary
#B85060
accent
#445DE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228A7A

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

Preview Lab → · Contrast checker → · Palette generator →

#228A7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva