#228271#228271

#228271 is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.8% C 0.090 H 178.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#228271
RGBrgb(34, 130, 113)
HSLhsl(169, 59%, 32%)
HSVhsv(169, 74%, 51%)
CMYKcmyk(73.8%, 0%, 13.1%, 49%)
CIE-LABlab(48.88, -31.48, 1.32)
CIE-LCHlch(48.88, 31.51, 177.60°)
OKLaboklab(54.79% -0.0904 0.003)
OKLCHoklch(54.79% 0.09 178.1)
XYZxyz(11.6215, 17.4962, 18.3842)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228271 #822233
analogous
#228241 #228271 #226382
triadic
#228271 #712282 #827122
tetradic
#228271 #412282 #822233 #638222
square
#228271 #412282 #822233 #638222
split-complementary
#228271 #822263 #824122
monochromatic
#09211D #155147 #228271 #2FB39B #4ED1B9

Accessibility & contrast

On white

4.67
#228271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#228271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228271
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228271#FFFFFF#000000##FFFFFF
##2282711.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#6F7072
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228271;
/* rgb */ color: rgb(34, 130, 113);
/* oklch */ color: oklch(54.8% 0.090 178.1);
Tailwind
colors: {
  custom: {
    50: '#6da799',
    500: '#228271',
    950: '#000000',
  },
}
SCSS
$custom: #228271;
$custom-light: #6da799;
$custom-dark: #000000;
JSON
{
  "hex": "#228271",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 169.375,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.09045,
    "h": 178.1
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#228271
secondary
#B44C5E
accent
#4662E2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #228271

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

Preview Lab → · Contrast checker → · Palette generator →

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