#228A7B#228A7B

#228A7B is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.3% C 0.094 H 180.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#228A7B
RGBrgb(34, 138, 123)
HSLhsl(171, 60%, 34%)
HSVhsv(171, 75%, 54%)
CMYKcmyk(75.4%, 0%, 10.9%, 45.9%)
CIE-LABlab(51.78, -32.41, -0.30)
CIE-LCHlch(51.78, 32.41, 180.52°)
OKLaboklab(57.25% -0.094 -0.0013)
OKLCHoklch(57.25% 0.094 180.8)
XYZxyz(13.3216, 19.9455, 21.8828)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A7B #8A2231
analogous
#228A47 #228A7B #22658A
triadic
#228A7B #7B228A #8A7B22
tetradic
#228A7B #47228A #8A2231 #658A22
square
#228A7B #47228A #8A2231 #658A22
split-complementary
#228A7B #8A2265 #8A4722
monochromatic
#0A2823 #16594F #228A7B #2EBBA7 #52D4C2

Accessibility & contrast

On white

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

On black

4.99
#228A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A7B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A7B#FFFFFF#000000##000000
##228A7B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84817A
Deuteranopia (green-blind)
#75777C
Tritanopia (blue-blind)
#008D85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228a7b;
/* rgb */ color: rgb(34, 138, 123);
/* oklch */ color: oklch(57.3% 0.094 180.8);
Tailwind
colors: {
  custom: {
    50: '#6fada1',
    500: '#228a7b',
    950: '#000000',
  },
}
SCSS
$custom: #228a7b;
$custom-light: #6fada1;
$custom-dark: #000000;
JSON
{
  "hex": "#228a7b",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 123
  },
  "hsl": {
    "h": 171.346,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.09403,
    "h": 180.8
  },
  "luminance": 0.19947
}

Semantic roles & 50–950 ramp

primary
#228A7B
secondary
#B8505F
accent
#445BE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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