#228A7C#228A7C

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

Color values

HEX#228A7C
RGBrgb(34, 138, 124)
HSLhsl(172, 60%, 34%)
HSVhsv(172, 75%, 54%)
CMYKcmyk(75.4%, 0%, 10.1%, 45.9%)
CIE-LABlab(51.80, -32.13, -0.84)
CIE-LCHlch(51.80, 32.14, 181.49°)
OKLaboklab(57.28% -0.0935 -0.0028)
OKLCHoklch(57.28% 0.094 181.7)
XYZxyz(13.3845, 19.9707, 22.2142)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A7C #8A2230
analogous
#228A48 #228A7C #22648A
triadic
#228A7C #7C228A #8A7C22
tetradic
#228A7C #48228A #8A2230 #648A22
square
#228A7C #48228A #8A2230 #648A22
split-complementary
#228A7C #8A2264 #8A4822
monochromatic
#0A2824 #165950 #228A7C #2EBBA8 #52D4C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228A7C#FFFFFF#000000##000000
##228A7C1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83827B
Deuteranopia (green-blind)
#75777D
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228a7c;
/* rgb */ color: rgb(34, 138, 124);
/* oklch */ color: oklch(57.3% 0.094 181.7);
Tailwind
colors: {
  custom: {
    50: '#6fada1',
    500: '#228a7c',
    950: '#000000',
  },
}
SCSS
$custom: #228a7c;
$custom-light: #6fada1;
$custom-dark: #000000;
JSON
{
  "hex": "#228a7c",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 124
  },
  "hsl": {
    "h": 171.923,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.09357,
    "h": 181.7
  },
  "luminance": 0.19972
}

Semantic roles & 50–950 ramp

primary
#228A7C
secondary
#B8505E
accent
#445AE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #228A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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