#228A71#228A71

#228A71 is a mid, moderate teal. Relative luminance 0.197; OKLCH L 56.9% C 0.100 H 172.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#228A71
RGBrgb(34, 138, 113)
HSLhsl(166, 60%, 34%)
HSVhsv(166, 75%, 54%)
CMYKcmyk(75.4%, 0%, 18.1%, 45.9%)
CIE-LABlab(51.51, -35.17, 5.11)
CIE-LCHlch(51.51, 35.54, 171.73°)
OKLaboklab(56.94% -0.099 0.013)
OKLCHoklch(56.94% 0.1 172.5)
XYZxyz(12.7273, 19.7078, 18.7528)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A71 #8A223B
analogous
#228A3D #228A71 #226F8A
triadic
#228A71 #71228A #8A7122
tetradic
#228A71 #3D228A #8A223B #6F8A22
square
#228A71 #3D228A #8A223B #6F8A22
split-complementary
#228A71 #8A226F #8A3D22
monochromatic
#0A2821 #165949 #228A71 #2EBB99 #52D4B5

Accessibility & contrast

On white

4.25
#228A71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#228A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A71
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A71#FFFFFF#000000##000000
##228A711.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#858170
Deuteranopia (green-blind)
#787773
Tritanopia (blue-blind)
#008B83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #228a71;
/* rgb */ color: rgb(34, 138, 113);
/* oklch */ color: oklch(56.9% 0.100 172.5);
Tailwind
colors: {
  custom: {
    50: '#6ead99',
    500: '#228a71',
    950: '#000000',
  },
}
SCSS
$custom: #228a71;
$custom-light: #6ead99;
$custom-dark: #000000;
JSON
{
  "hex": "#228a71",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 113
  },
  "hsl": {
    "h": 165.577,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5694,
    "c": 0.09982,
    "h": 172.5
  },
  "luminance": 0.19709
}

Semantic roles & 50–950 ramp

primary
#228A71
secondary
#B85069
accent
#446BE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228A71

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

Preview Lab → · Contrast checker → · Palette generator →

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