#238172#238172

#238172 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.6% C 0.088 H 179.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#238172
RGBrgb(35, 129, 114)
HSLhsl(170, 57%, 32%)
HSVhsv(170, 73%, 51%)
CMYKcmyk(72.9%, 0%, 11.6%, 49.4%)
CIE-LABlab(48.60, -30.58, 0.33)
CIE-LCHlch(48.60, 30.59, 179.38°)
OKLaboklab(54.58% -0.0884 0.0004)
OKLCHoklch(54.58% 0.088 179.8)
XYZxyz(11.5792, 17.2714, 18.6398)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238172 #812332
analogous
#238143 #238172 #236181
triadic
#238172 #722381 #817223
tetradic
#238172 #432381 #812332 #618123
square
#238172 #432381 #812332 #618123
split-complementary
#238172 #812361 #814323
monochromatic
#09211D #165147 #238172 #30B19D #4FCFBB

Accessibility & contrast

On white

4.71
#238172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #238172
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238172#FFFFFF#000000##FFFFFF
##2381721.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #238172;
/* rgb */ color: rgb(35, 129, 114);
/* oklch */ color: oklch(54.6% 0.088 179.8);
Tailwind
colors: {
  custom: {
    50: '#6da69a',
    500: '#238172',
    950: '#000000',
  },
}
SCSS
$custom: #238172;
$custom-light: #6da69a;
$custom-dark: #000000;
JSON
{
  "hex": "#238172",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 114
  },
  "hsl": {
    "h": 170.426,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.08839,
    "h": 179.8
  },
  "luminance": 0.17273
}

Semantic roles & 50–950 ramp

primary
#238172
secondary
#B34D5D
accent
#4760E1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #238172

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

Preview Lab → · Contrast checker → · Palette generator →

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