#238871#238871

#238871 is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.4% C 0.097 H 173.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#238871
RGBrgb(35, 136, 113)
HSLhsl(166, 59%, 34%)
HSVhsv(166, 74%, 53%)
CMYKcmyk(74.3%, 0%, 16.9%, 46.7%)
CIE-LABlab(50.87, -34.12, 4.20)
CIE-LCHlch(50.87, 34.38, 172.98°)
OKLaboklab(56.43% -0.0964 0.0106)
OKLCHoklch(56.43% 0.097 173.7)
XYZxyz(12.4764, 19.1564, 18.6596)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238871 #88233A
analogous
#23883E #238871 #236C88
triadic
#238871 #712388 #887123
tetradic
#238871 #3E2388 #88233A #6C8823
square
#238871 #3E2388 #88233A #6C8823
split-complementary
#238871 #88236C #883E23
monochromatic
#0A2720 #165749 #238871 #30B999 #53D3B6

Accessibility & contrast

On white

4.35
#238871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#238871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238871
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238871#FFFFFF#000000##000000
##2388711.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F70
Deuteranopia (green-blind)
#767573
Tritanopia (blue-blind)
#008A81
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238871;
/* rgb */ color: rgb(35, 136, 113);
/* oklch */ color: oklch(56.4% 0.097 173.7);
Tailwind
colors: {
  custom: {
    50: '#6eab99',
    500: '#238871',
    950: '#000000',
  },
}
SCSS
$custom: #238871;
$custom-light: #6eab99;
$custom-dark: #000000;
JSON
{
  "hex": "#238871",
  "rgb": {
    "r": 35,
    "g": 136,
    "b": 113
  },
  "hsl": {
    "h": 166.337,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56426,
    "c": 0.09702,
    "h": 173.7
  },
  "luminance": 0.19158
}

Semantic roles & 50–950 ramp

primary
#238871
secondary
#B75068
accent
#4669E2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #238871

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

Preview Lab → · Contrast checker → · Palette generator →

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