#228B7F#228B7F

#228B7F is a mid, moderate teal. Relative luminance 0.203; OKLCH L 57.6% C 0.093 H 183.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#228B7F
RGBrgb(34, 139, 127)
HSLhsl(173, 61%, 34%)
HSVhsv(173, 76%, 55%)
CMYKcmyk(75.5%, 0%, 8.6%, 45.5%)
CIE-LABlab(52.22, -31.74, -1.97)
CIE-LCHlch(52.22, 31.80, 183.56°)
OKLaboklab(57.65% -0.0931 -0.0058)
OKLCHoklch(57.65% 0.093 183.6)
XYZxyz(13.7212, 20.3360, 23.2766)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B7F #8B222E
analogous
#228B4B #228B7F #22638B
triadic
#228B7F #7F228B #8B7F22
tetradic
#228B7F #4B228B #8B222E #638B22
square
#228B7F #4B228B #8B222E #638B22
split-complementary
#228B7F #8B2263 #8B4B22
monochromatic
#0A2925 #165A52 #228B7F #2EBCAC #53D5C6

Accessibility & contrast

On white

4.14
#228B7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#228B7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B7F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B7F#FFFFFF#000000##000000
##228B7F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84837F
Deuteranopia (green-blind)
#767880
Tritanopia (blue-blind)
#008E87
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #228b7f;
/* rgb */ color: rgb(34, 139, 127);
/* oklch */ color: oklch(57.6% 0.093 183.6);
Tailwind
colors: {
  custom: {
    50: '#6fada4',
    500: '#228b7f',
    950: '#000000',
  },
}
SCSS
$custom: #228b7f;
$custom-light: #6fada4;
$custom-dark: #000000;
JSON
{
  "hex": "#228b7f",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 127
  },
  "hsl": {
    "h": 173.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.0933,
    "h": 183.6
  },
  "luminance": 0.20338
}

Semantic roles & 50–950 ramp

primary
#228B7F
secondary
#B8505C
accent
#4456E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #228B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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