#228371#228371

#228371 is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.1% C 0.092 H 177.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#228371
RGBrgb(34, 131, 113)
HSLhsl(169, 59%, 32%)
HSVhsv(169, 74%, 51%)
CMYKcmyk(74%, 0%, 13.7%, 48.6%)
CIE-LABlab(49.21, -31.95, 1.80)
CIE-LCHlch(49.21, 32.01, 176.78°)
OKLaboklab(55.06% -0.0915 0.0043)
OKLCHoklch(55.06% 0.092 177.3)
XYZxyz(11.7551, 17.7636, 18.4288)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228371 #832234
analogous
#228341 #228371 #226583
triadic
#228371 #712283 #837122
tetradic
#228371 #412283 #832234 #658322
square
#228371 #412283 #832234 #658322
split-complementary
#228371 #832265 #834122
monochromatic
#09221D #155247 #228371 #2FB49B #4ED1B9

Accessibility & contrast

On white

4.61
#228371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#228371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228371
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228371#FFFFFF#000000##FFFFFF
##2283711.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7B70
Deuteranopia (green-blind)
#707172
Tritanopia (blue-blind)
#00857E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228371;
/* rgb */ color: rgb(34, 131, 113);
/* oklch */ color: oklch(55.1% 0.092 177.3);
Tailwind
colors: {
  custom: {
    50: '#6da799',
    500: '#228371',
    950: '#000000',
  },
}
SCSS
$custom: #228371;
$custom-light: #6da799;
$custom-dark: #000000;
JSON
{
  "hex": "#228371",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 113
  },
  "hsl": {
    "h": 168.866,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.09158,
    "h": 177.3
  },
  "luminance": 0.17765
}

Semantic roles & 50–950 ramp

primary
#228371
secondary
#B44C60
accent
#4663E2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #228371

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

Preview Lab → · Contrast checker → · Palette generator →

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