#228C7D#228C7D

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

Color values

HEX#228C7D
RGBrgb(34, 140, 125)
HSLhsl(172, 61%, 34%)
HSVhsv(172, 76%, 55%)
CMYKcmyk(75.7%, 0%, 10.7%, 45.1%)
CIE-LABlab(52.48, -32.78, -0.42)
CIE-LCHlch(52.48, 32.78, 180.74°)
OKLaboklab(57.85% -0.0951 -0.0017)
OKLCHoklch(57.85% 0.095 181)
XYZxyz(13.7376, 20.5753, 22.6455)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C7D #8C2231
analogous
#228C48 #228C7D #22668C
triadic
#228C7D #7D228C #8C7D22
tetradic
#228C7D #48228C #8C2231 #668C22
square
#228C7D #48228C #8C2231 #668C22
split-complementary
#228C7D #8C2266 #8C4822
monochromatic
#0A2A25 #165B51 #228C7D #2EBDA9 #53D5C3

Accessibility & contrast

On white

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

On black

5.12
#228C7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C7D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C7D#FFFFFF#000000##000000
##228C7D1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85837C
Deuteranopia (green-blind)
#77797E
Tritanopia (blue-blind)
#008F87
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228c7d;
/* rgb */ color: rgb(34, 140, 125);
/* oklch */ color: oklch(57.8% 0.095 181.0);
Tailwind
colors: {
  custom: {
    50: '#6faea2',
    500: '#228c7d',
    950: '#000000',
  },
}
SCSS
$custom: #228c7d;
$custom-light: #6faea2;
$custom-dark: #000000;
JSON
{
  "hex": "#228c7d",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 125
  },
  "hsl": {
    "h": 171.509,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.09516,
    "h": 181
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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