#18875D#18875D

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

Color values

HEX#18875D
RGBrgb(24, 135, 93)
HSLhsl(157, 70%, 31%)
HSVhsv(157, 82%, 53%)
CMYKcmyk(82.2%, 0%, 31.1%, 47.1%)
CIE-LABlab(49.87, -40.15, 14.32)
CIE-LCHlch(49.87, 42.63, 160.37°)
OKLaboklab(55.39% -0.1094 0.0363)
OKLCHoklch(55.39% 0.115 161.6)
XYZxyz(11.0152, 18.3111, 13.3076)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18875D #871842
analogous
#188725 #18875D #187987
triadic
#18875D #5D1887 #875D18
tetradic
#18875D #251887 #871842 #798718
square
#18875D #251887 #871842 #798718
split-complementary
#18875D #871879 #872518
monochromatic
#061F15 #0F5339 #18875D #21BB81 #3DDCA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18875D#FFFFFF#000000##000000
##18875D1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18875d;
/* rgb */ color: rgb(24, 135, 93);
/* oklch */ color: oklch(55.4% 0.115 161.6);
Tailwind
colors: {
  custom: {
    50: '#6aab8b',
    500: '#18875d',
    950: '#000000',
  },
}
SCSS
$custom: #18875d;
$custom-light: #6aab8b;
$custom-dark: #000000;
JSON
{
  "hex": "#18875d",
  "rgb": {
    "r": 24,
    "g": 135,
    "b": 93
  },
  "hsl": {
    "h": 157.297,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.11526,
    "h": 161.6
  },
  "luminance": 0.18312
}

Semantic roles & 50–950 ramp

primary
#18875D
secondary
#BB406E
accent
#3B7EED
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100C
muted
#7A7F7D

Preview Lab

Preview with #18875D

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

Preview Lab → · Contrast checker → · Palette generator →

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