#23987C#23987C

#23987C is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.0% C 0.109 H 172.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#23987C
RGBrgb(35, 152, 124)
HSLhsl(166, 63%, 37%)
HSVhsv(166, 77%, 60%)
CMYKcmyk(77%, 0%, 18.4%, 40.4%)
CIE-LABlab(56.35, -38.36, 5.76)
CIE-LCHlch(56.35, 38.79, 171.46°)
OKLaboklab(61.01% -0.1078 0.0146)
OKLCHoklch(61.01% 0.109 172.3)
XYZxyz(15.5575, 24.2672, 22.9290)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23987C #98233F
analogous
#239842 #23987C #237A98
triadic
#23987C #7C2398 #987C23
tetradic
#23987C #422398 #98233F #7A9823
square
#23987C #422398 #98233F #7A9823
split-complementary
#23987C #98237A #984223
monochromatic
#0C352B #186653 #23987C #2ECAA5 #5CD9BB

Accessibility & contrast

On white

3.59
#23987C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#23987C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #23987C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23987C#FFFFFF#000000##000000
##23987C1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7B
Deuteranopia (green-blind)
#84837E
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #23987c;
/* rgb */ color: rgb(35, 152, 124);
/* oklch */ color: oklch(61.0% 0.109 172.3);
Tailwind
colors: {
  custom: {
    50: '#72b7a1',
    500: '#23987c',
    950: '#000000',
  },
}
SCSS
$custom: #23987c;
$custom-light: #72b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#23987c",
  "rgb": {
    "r": 35,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 165.641,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61009,
    "c": 0.10878,
    "h": 172.3
  },
  "luminance": 0.24269
}

Semantic roles & 50–950 ramp

primary
#23987C
secondary
#BE5971
accent
#4269E6
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #23987C

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

Preview Lab → · Contrast checker → · Palette generator →

#23987C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva