#228A7E#228A7E

#228A7E is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.4% C 0.093 H 183.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#228A7E
RGBrgb(34, 138, 126)
HSLhsl(173, 60%, 34%)
HSVhsv(173, 75%, 54%)
CMYKcmyk(75.4%, 0%, 8.7%, 45.9%)
CIE-LABlab(51.86, -31.55, -1.91)
CIE-LCHlch(51.86, 31.61, 183.47°)
OKLaboklab(57.35% -0.0925 -0.0057)
OKLCHoklch(57.35% 0.093 183.5)
XYZxyz(13.5122, 20.0218, 22.8871)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A7E #8A222E
analogous
#228A4A #228A7E #22628A
triadic
#228A7E #7E228A #8A7E22
tetradic
#228A7E #4A228A #8A222E #628A22
square
#228A7E #4A228A #8A222E #628A22
split-complementary
#228A7E #8A2262 #8A4A22
monochromatic
#0A2824 #165951 #228A7E #2EBBAB #52D4C5

Accessibility & contrast

On white

4.20
#228A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#228A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A7E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A7E#FFFFFF#000000##000000
##228A7E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83827E
Deuteranopia (green-blind)
#75777F
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228a7e;
/* rgb */ color: rgb(34, 138, 126);
/* oklch */ color: oklch(57.4% 0.093 183.5);
Tailwind
colors: {
  custom: {
    50: '#6fada3',
    500: '#228a7e',
    950: '#000000',
  },
}
SCSS
$custom: #228a7e;
$custom-light: #6fada3;
$custom-dark: #000000;
JSON
{
  "hex": "#228a7e",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 126
  },
  "hsl": {
    "h": 173.077,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5735,
    "c": 0.09272,
    "h": 183.5
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#228A7E
secondary
#B8505C
accent
#4457E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #228A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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