#17875F#17875F

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

Color values

HEX#17875F
RGBrgb(23, 135, 95)
HSLhsl(159, 71%, 31%)
HSVhsv(159, 83%, 53%)
CMYKcmyk(83%, 0%, 29.6%, 47.1%)
CIE-LABlab(49.90, -39.79, 13.21)
CIE-LCHlch(49.90, 41.92, 161.63°)
OKLaboklab(55.43% -0.1087 0.0336)
OKLCHoklch(55.43% 0.114 162.8)
XYZxyz(11.0816, 18.3349, 13.7792)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17875F #87173F
analogous
#178727 #17875F #177787
triadic
#17875F #5F1787 #875F17
tetradic
#17875F #271787 #87173F #778717
square
#17875F #271787 #87173F #778717
split-complementary
#17875F #871777 #872717
monochromatic
#051E15 #0E533A #17875F #20BB84 #3BDEA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17875F#FFFFFF#000000##000000
##17875F1.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: #17875f;
/* rgb */ color: rgb(23, 135, 95);
/* oklch */ color: oklch(55.4% 0.114 162.8);
Tailwind
colors: {
  custom: {
    50: '#6aab8c',
    500: '#17875f',
    950: '#000000',
  },
}
SCSS
$custom: #17875f;
$custom-light: #6aab8c;
$custom-dark: #000000;
JSON
{
  "hex": "#17875f",
  "rgb": {
    "r": 23,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 158.571,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.11374,
    "h": 162.8
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#17875F
secondary
#BB3F6B
accent
#3A7AEE
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100C
muted
#7A7F7D

Preview Lab

Preview with #17875F

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

Preview Lab → · Contrast checker → · Palette generator →

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