#18795F#18795F

#18795F is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.6% C 0.095 H 169.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#18795F
RGBrgb(24, 121, 95)
HSLhsl(164, 67%, 28%)
HSVhsv(164, 80%, 47%)
CMYKcmyk(80.2%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.21, -33.62, 6.62)
CIE-LCHlch(45.21, 34.27, 168.85°)
OKLaboklab(51.58% -0.0937 0.0169)
OKLCHoklch(51.58% 0.095 169.8)
XYZxyz(9.2785, 14.6940, 13.1715)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18795F #791832
analogous
#18792E #18795F #186279
triadic
#18795F #5F1879 #795F18
tetradic
#18795F #2E1879 #791832 #627918
square
#18795F #2E1879 #791832 #627918
split-complementary
#18795F #791862 #792E18
monochromatic
#051A14 #0E4637 #18795F #22AC87 #35D7AB

Accessibility & contrast

On white

5.33
#18795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#18795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18795F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18795F#FFFFFF#000000##FFFFFF
##18795F1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705E
Deuteranopia (green-blind)
#696761
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #18795f;
/* rgb */ color: rgb(24, 121, 95);
/* oklch */ color: oklch(51.6% 0.095 169.8);
Tailwind
colors: {
  custom: {
    50: '#67a08c',
    500: '#18795f',
    950: '#000000',
  },
}
SCSS
$custom: #18795f;
$custom-light: #67a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#18795f",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 163.918,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.09519,
    "h": 169.8
  },
  "luminance": 0.14695
}

Semantic roles & 50–950 ramp

primary
#18795F
secondary
#AE3F5D
accent
#3E6CEA
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #18795F

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

Preview Lab → · Contrast checker → · Palette generator →

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