#18795D#18795D

#18795D is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.5% C 0.097 H 168.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#18795D
RGBrgb(24, 121, 93)
HSLhsl(163, 67%, 28%)
HSVhsv(163, 80%, 47%)
CMYKcmyk(80.2%, 0%, 23.1%, 52.5%)
CIE-LABlab(45.16, -34.15, 7.74)
CIE-LCHlch(45.16, 35.02, 167.24°)
OKLaboklab(51.52% -0.0947 0.0198)
OKLCHoklch(51.52% 0.097 168.2)
XYZxyz(9.1888, 14.6581, 12.6988)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18795D #791834
analogous
#18792C #18795D #186479
triadic
#18795D #5D1879 #795D18
tetradic
#18795D #2C1879 #791834 #647918
square
#18795D #2C1879 #791834 #647918
split-complementary
#18795D #791864 #792C18
monochromatic
#051A14 #0E4636 #18795D #22AC84 #35D7A8

Accessibility & contrast

On white

5.34
#18795D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#18795D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18795D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18795D#FFFFFF#000000##FFFFFF
##18795D1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705C
Deuteranopia (green-blind)
#6A675F
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #18795d;
/* rgb */ color: rgb(24, 121, 93);
/* oklch */ color: oklch(51.5% 0.097 168.2);
Tailwind
colors: {
  custom: {
    50: '#67a08b',
    500: '#18795d',
    950: '#000000',
  },
}
SCSS
$custom: #18795d;
$custom-light: #67a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#18795d",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 162.68,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.09675,
    "h": 168.2
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#18795D
secondary
#AE3F5F
accent
#3E70EA
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #18795D

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

Preview Lab → · Contrast checker → · Palette generator →

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