#23987F#23987F

#23987F is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.1% C 0.107 H 174.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#23987F
RGBrgb(35, 152, 127)
HSLhsl(167, 63%, 37%)
HSVhsv(167, 77%, 60%)
CMYKcmyk(77%, 0%, 16.4%, 40.4%)
CIE-LABlab(56.43, -37.57, 4.16)
CIE-LCHlch(56.43, 37.80, 173.68°)
OKLaboklab(61.1% -0.1063 0.0104)
OKLCHoklch(61.1% 0.107 174.4)
XYZxyz(15.7502, 24.3442, 23.9434)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23987F #98233C
analogous
#239844 #23987F #237798
triadic
#23987F #7F2398 #987F23
tetradic
#23987F #442398 #98233C #779823
square
#23987F #442398 #98233C #779823
split-complementary
#23987F #982377 #984423
monochromatic
#0C352C #186655 #23987F #2ECAA9 #5CD9BF

Accessibility & contrast

On white

3.58
#23987F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#23987F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #23987F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23987F#FFFFFF#000000##000000
##23987F1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928E7E
Deuteranopia (green-blind)
#838381
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #23987f;
/* rgb */ color: rgb(35, 152, 127);
/* oklch */ color: oklch(61.1% 0.107 174.4);
Tailwind
colors: {
  custom: {
    50: '#72b7a4',
    500: '#23987f',
    950: '#000000',
  },
}
SCSS
$custom: #23987f;
$custom-light: #72b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23987f",
  "rgb": {
    "r": 35,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 167.179,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61097,
    "c": 0.10683,
    "h": 174.4
  },
  "luminance": 0.24346
}

Semantic roles & 50–950 ramp

primary
#23987F
secondary
#BE596E
accent
#4265E6
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #23987F

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

Preview Lab → · Contrast checker → · Palette generator →

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