#18875A#18875A

#18875A is a mid, moderate teal. Relative luminance 0.183; OKLCH L 55.3% C 0.118 H 160.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#18875A
RGBrgb(24, 135, 90)
HSLhsl(156, 70%, 31%)
HSVhsv(156, 82%, 53%)
CMYKcmyk(82.2%, 0%, 33.3%, 47.1%)
CIE-LABlab(49.81, -40.85, 15.95)
CIE-LCHlch(49.81, 43.85, 158.68°)
OKLaboklab(55.32% -0.1109 0.0403)
OKLCHoklch(55.32% 0.118 160)
XYZxyz(10.8850, 18.2590, 12.6215)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18875A #871845
analogous
#188723 #18875A #187C87
triadic
#18875A #5A1887 #875A18
tetradic
#18875A #231887 #871845 #7C8718
square
#18875A #231887 #871845 #7C8718
split-complementary
#18875A #87187C #872318
monochromatic
#061F15 #0F5337 #18875A #21BB7D #3DDC9C

Accessibility & contrast

On white

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

On black

4.65
#18875A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18875A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18875A#FFFFFF#000000##000000
##18875A1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857C57
Deuteranopia (green-blind)
#78735D
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #18875a;
/* rgb */ color: rgb(24, 135, 90);
/* oklch */ color: oklch(55.3% 0.118 160.0);
Tailwind
colors: {
  custom: {
    50: '#6aab89',
    500: '#18875a',
    950: '#000000',
  },
}
SCSS
$custom: #18875a;
$custom-light: #6aab89;
$custom-dark: #000000;
JSON
{
  "hex": "#18875a",
  "rgb": {
    "r": 24,
    "g": 135,
    "b": 90
  },
  "hsl": {
    "h": 155.676,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55322,
    "c": 0.11801,
    "h": 160
  },
  "luminance": 0.1826
}

Semantic roles & 50–950 ramp

primary
#18875A
secondary
#BB4072
accent
#3B83ED
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100B
muted
#7A7F7C

Preview Lab

Preview with #18875A

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

Preview Lab → · Contrast checker → · Palette generator →

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