#18875E#18875E

#18875E is a mid, moderate teal. Relative luminance 0.183; OKLCH L 55.4% C 0.114 H 162.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#18875E
RGBrgb(24, 135, 94)
HSLhsl(158, 70%, 31%)
HSVhsv(158, 82%, 53%)
CMYKcmyk(82.2%, 0%, 30.4%, 47.1%)
CIE-LABlab(49.89, -39.92, 13.77)
CIE-LCHlch(49.89, 42.23, 160.96°)
OKLaboklab(55.42% -0.1089 0.035)
OKLCHoklch(55.42% 0.114 162.2)
XYZxyz(11.0598, 18.3289, 13.5424)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18875E #871841
analogous
#188726 #18875E #187887
triadic
#18875E #5E1887 #875E18
tetradic
#18875E #261887 #871841 #788718
square
#18875E #261887 #871841 #788718
split-complementary
#18875E #871878 #872618
monochromatic
#061F16 #0F533A #18875E #21BB82 #3DDCA2

Accessibility & contrast

On white

4.50
#18875E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#18875E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18875E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18875E#FFFFFF#000000##000000
##18875E1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857C5C
Deuteranopia (green-blind)
#787361
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #18875e;
/* rgb */ color: rgb(24, 135, 94);
/* oklch */ color: oklch(55.4% 0.114 162.2);
Tailwind
colors: {
  custom: {
    50: '#6aab8b',
    500: '#18875e',
    950: '#000000',
  },
}
SCSS
$custom: #18875e;
$custom-light: #6aab8b;
$custom-dark: #000000;
JSON
{
  "hex": "#18875e",
  "rgb": {
    "r": 24,
    "g": 135,
    "b": 94
  },
  "hsl": {
    "h": 157.838,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55419,
    "c": 0.11437,
    "h": 162.2
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#18875E
secondary
#BB406D
accent
#3B7DED
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100C
muted
#7A7F7D

Preview Lab

Preview with #18875E

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

Preview Lab → · Contrast checker → · Palette generator →

#18875E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva