#228B7B#228B7B

#228B7B is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.5% C 0.095 H 180.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#228B7B
RGBrgb(34, 139, 123)
HSLhsl(171, 61%, 34%)
HSVhsv(171, 76%, 55%)
CMYKcmyk(75.5%, 0%, 11.5%, 45.5%)
CIE-LABlab(52.10, -32.88, 0.18)
CIE-LCHlch(52.10, 32.88, 179.69°)
OKLaboklab(57.52% -0.0951 -0.0001)
OKLCHoklch(57.52% 0.095 180)
XYZxyz(13.4657, 20.2338, 21.9309)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B7B #8B2232
analogous
#228B47 #228B7B #22678B
triadic
#228B7B #7B228B #8B7B22
tetradic
#228B7B #47228B #8B2232 #678B22
square
#228B7B #47228B #8B2232 #678B22
split-complementary
#228B7B #8B2267 #8B4722
monochromatic
#0A2924 #165A4F #228B7B #2EBCA7 #53D5C1

Accessibility & contrast

On white

4.16
#228B7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#228B7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B7B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B7B#FFFFFF#000000##000000
##228B7B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85827A
Deuteranopia (green-blind)
#77787C
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228b7b;
/* rgb */ color: rgb(34, 139, 123);
/* oklch */ color: oklch(57.5% 0.095 180.0);
Tailwind
colors: {
  custom: {
    50: '#6fada1',
    500: '#228b7b',
    950: '#000000',
  },
}
SCSS
$custom: #228b7b;
$custom-light: #6fada1;
$custom-dark: #000000;
JSON
{
  "hex": "#228b7b",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 123
  },
  "hsl": {
    "h": 170.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57516,
    "c": 0.09507,
    "h": 180
  },
  "luminance": 0.20235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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