#228771#228771

#228771 is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.1% C 0.096 H 174.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#228771
RGBrgb(34, 135, 113)
HSLhsl(167, 60%, 33%)
HSVhsv(167, 75%, 53%)
CMYKcmyk(74.8%, 0%, 16.3%, 47.1%)
CIE-LABlab(50.52, -33.81, 3.70)
CIE-LCHlch(50.52, 34.01, 173.76°)
OKLaboklab(56.14% -0.0958 0.0093)
OKLCHoklch(56.14% 0.096 174.5)
XYZxyz(12.3028, 18.8588, 18.6113)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228771 #872238
analogous
#22873F #228771 #226A87
triadic
#228771 #712287 #877122
tetradic
#228771 #3F2287 #872238 #6A8722
square
#228771 #3F2287 #872238 #6A8722
split-complementary
#228771 #87226A #873F22
monochromatic
#09251F #165648 #228771 #2EB89A #50D3B7

Accessibility & contrast

On white

4.40
#228771 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#228771 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228771
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228771#FFFFFF#000000##000000
##2287711.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#827E70
Deuteranopia (green-blind)
#757473
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228771;
/* rgb */ color: rgb(34, 135, 113);
/* oklch */ color: oklch(56.1% 0.096 174.5);
Tailwind
colors: {
  custom: {
    50: '#6daa99',
    500: '#228771',
    950: '#000000',
  },
}
SCSS
$custom: #228771;
$custom-light: #6daa99;
$custom-dark: #000000;
JSON
{
  "hex": "#228771",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 113
  },
  "hsl": {
    "h": 166.931,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56136,
    "c": 0.09622,
    "h": 174.5
  },
  "luminance": 0.1886
}

Semantic roles & 50–950 ramp

primary
#228771
secondary
#B74E65
accent
#4567E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #228771

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

Preview Lab → · Contrast checker → · Palette generator →

#228771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva