#238171#238171

#238171 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.5% C 0.089 H 178.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#238171
RGBrgb(35, 129, 113)
HSLhsl(170, 57%, 32%)
HSVhsv(170, 73%, 51%)
CMYKcmyk(72.9%, 0%, 12.4%, 49.4%)
CIE-LABlab(48.57, -30.87, 0.87)
CIE-LCHlch(48.57, 30.88, 178.38°)
OKLaboklab(54.55% -0.0889 0.0018)
OKLCHoklch(54.55% 0.089 178.8)
XYZxyz(11.5226, 17.2488, 18.3417)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238171 #812333
analogous
#238142 #238171 #236281
triadic
#238171 #712381 #817123
tetradic
#238171 #422381 #812333 #628123
square
#238171 #422381 #812333 #628123
split-complementary
#238171 #812362 #814223
monochromatic
#09211D #165147 #238171 #30B19B #4FCFB9

Accessibility & contrast

On white

4.72
#238171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#238171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238171
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238171#FFFFFF#000000##FFFFFF
##2381711.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7970
Deuteranopia (green-blind)
#6F6F72
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #238171;
/* rgb */ color: rgb(35, 129, 113);
/* oklch */ color: oklch(54.5% 0.089 178.8);
Tailwind
colors: {
  custom: {
    50: '#6da699',
    500: '#238171',
    950: '#000000',
  },
}
SCSS
$custom: #238171;
$custom-light: #6da699;
$custom-dark: #000000;
JSON
{
  "hex": "#238171",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 113
  },
  "hsl": {
    "h": 169.787,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54549,
    "c": 0.0889,
    "h": 178.8
  },
  "luminance": 0.1725
}

Semantic roles & 50–950 ramp

primary
#238171
secondary
#B34D5E
accent
#4761E1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #238171

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

Preview Lab → · Contrast checker → · Palette generator →

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