#18875F#18875F

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

Color values

HEX#18875F
RGBrgb(24, 135, 95)
HSLhsl(158, 70%, 31%)
HSVhsv(158, 82%, 53%)
CMYKcmyk(82.2%, 0%, 29.6%, 47.1%)
CIE-LABlab(49.91, -39.68, 13.23)
CIE-LCHlch(49.91, 41.83, 161.56°)
OKLaboklab(55.44% -0.1084 0.0337)
OKLCHoklch(55.44% 0.113 162.7)
XYZxyz(11.1050, 18.3470, 13.7803)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18875F #871840
analogous
#188727 #18875F #187787
triadic
#18875F #5F1887 #875F18
tetradic
#18875F #271887 #871840 #778718
square
#18875F #271887 #871840 #778718
split-complementary
#18875F #871877 #872718
monochromatic
#061F16 #0F533A #18875F #21BB84 #3DDCA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18875F#FFFFFF#000000##000000
##18875F1.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)
#857C5D
Deuteranopia (green-blind)
#777362
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #18875f;
/* rgb */ color: rgb(24, 135, 95);
/* oklch */ color: oklch(55.4% 0.113 162.7);
Tailwind
colors: {
  custom: {
    50: '#6aab8c',
    500: '#18875f',
    950: '#000000',
  },
}
SCSS
$custom: #18875f;
$custom-light: #6aab8c;
$custom-dark: #000000;
JSON
{
  "hex": "#18875f",
  "rgb": {
    "r": 24,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 158.378,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55444,
    "c": 0.11347,
    "h": 162.7
  },
  "luminance": 0.18348
}

Semantic roles & 50–950 ramp

primary
#18875F
secondary
#BB406C
accent
#3B7BED
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #18875F

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

Preview Lab → · Contrast checker → · Palette generator →

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