#18875C#18875C

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

Color values

HEX#18875C
RGBrgb(24, 135, 92)
HSLhsl(157, 70%, 31%)
HSVhsv(157, 82%, 53%)
CMYKcmyk(82.2%, 0%, 31.9%, 47.1%)
CIE-LABlab(49.85, -40.39, 14.86)
CIE-LCHlch(49.85, 43.04, 159.80°)
OKLaboklab(55.37% -0.1099 0.0377)
OKLCHoklch(55.37% 0.116 161.1)
XYZxyz(10.9712, 18.2935, 13.0759)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18875C #871843
analogous
#188725 #18875C #187A87
triadic
#18875C #5C1887 #875C18
tetradic
#18875C #251887 #871843 #7A8718
square
#18875C #251887 #871843 #7A8718
split-complementary
#18875C #87187A #872518
monochromatic
#061F15 #0F5339 #18875C #21BB7F #3DDC9F

Accessibility & contrast

On white

4.51
#18875C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#18875C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18875C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18875C#FFFFFF#000000##000000
##18875C1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857C59
Deuteranopia (green-blind)
#78735F
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #18875c;
/* rgb */ color: rgb(24, 135, 92);
/* oklch */ color: oklch(55.4% 0.116 161.1);
Tailwind
colors: {
  custom: {
    50: '#6aab8a',
    500: '#18875c',
    950: '#000000',
  },
}
SCSS
$custom: #18875c;
$custom-light: #6aab8a;
$custom-dark: #000000;
JSON
{
  "hex": "#18875c",
  "rgb": {
    "r": 24,
    "g": 135,
    "b": 92
  },
  "hsl": {
    "h": 156.757,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5537,
    "c": 0.11617,
    "h": 161.1
  },
  "luminance": 0.18295
}

Semantic roles & 50–950 ramp

primary
#18875C
secondary
#BB4070
accent
#3B80ED
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100B
muted
#7A7F7C

Preview Lab

Preview with #18875C

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

Preview Lab → · Contrast checker → · Palette generator →

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