#228C7C#228C7C

#228C7C is a mid, moderate teal. Relative luminance 0.206; OKLCH L 57.8% C 0.096 H 180.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#228C7C
RGBrgb(34, 140, 124)
HSLhsl(171, 61%, 34%)
HSVhsv(171, 76%, 55%)
CMYKcmyk(75.7%, 0%, 11.4%, 45.1%)
CIE-LABlab(52.45, -33.06, 0.11)
CIE-LCHlch(52.45, 33.06, 179.80°)
OKLaboklab(57.81% -0.0956 -0.0002)
OKLCHoklch(57.81% 0.096 180.1)
XYZxyz(13.6741, 20.5498, 22.3107)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C7C #8C2232
analogous
#228C47 #228C7C #22678C
triadic
#228C7C #7C228C #8C7C22
tetradic
#228C7C #47228C #8C2232 #678C22
square
#228C7C #47228C #8C2232 #678C22
split-complementary
#228C7C #8C2267 #8C4722
monochromatic
#0A2A25 #165B50 #228C7C #2EBDA8 #53D5C2

Accessibility & contrast

On white

4.11
#228C7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#228C7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C7C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C7C#FFFFFF#000000##000000
##228C7C1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86837B
Deuteranopia (green-blind)
#77797D
Tritanopia (blue-blind)
#008F87
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228c7c;
/* rgb */ color: rgb(34, 140, 124);
/* oklch */ color: oklch(57.8% 0.096 180.1);
Tailwind
colors: {
  custom: {
    50: '#6faea1',
    500: '#228c7c',
    950: '#000000',
  },
}
SCSS
$custom: #228c7c;
$custom-light: #6faea1;
$custom-dark: #000000;
JSON
{
  "hex": "#228c7c",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 124
  },
  "hsl": {
    "h": 170.943,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.09564,
    "h": 180.1
  },
  "luminance": 0.20551
}

Semantic roles & 50–950 ramp

primary
#228C7C
secondary
#B95161
accent
#445CE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #228C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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