#18795A#18795A

#18795A is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.099 H 166.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#18795A
RGBrgb(24, 121, 90)
HSLhsl(161, 67%, 28%)
HSVhsv(161, 80%, 47%)
CMYKcmyk(80.2%, 0%, 25.6%, 52.5%)
CIE-LABlab(45.09, -34.93, 9.40)
CIE-LCHlch(45.09, 36.17, 164.93°)
OKLaboklab(51.44% -0.0963 0.024)
OKLCHoklch(51.44% 0.099 166)
XYZxyz(9.0585, 14.6060, 12.0127)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18795A #791837
analogous
#187929 #18795A #186779
triadic
#18795A #5A1879 #795A18
tetradic
#18795A #291879 #791837 #677918
square
#18795A #291879 #791837 #677918
split-complementary
#18795A #791867 #792918
monochromatic
#051A13 #0E4634 #18795A #22AC80 #35D7A3

Accessibility & contrast

On white

5.36
#18795A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#18795A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18795A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18795A#FFFFFF#000000##FFFFFF
##18795A1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767058
Deuteranopia (green-blind)
#6A675C
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #18795a;
/* rgb */ color: rgb(24, 121, 90);
/* oklch */ color: oklch(51.4% 0.099 166.0);
Tailwind
colors: {
  custom: {
    50: '#66a088',
    500: '#18795a',
    950: '#000000',
  },
}
SCSS
$custom: #18795a;
$custom-light: #66a088;
$custom-dark: #000000;
JSON
{
  "hex": "#18795a",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 90
  },
  "hsl": {
    "h": 160.825,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51439,
    "c": 0.09922,
    "h": 166
  },
  "luminance": 0.14607
}

Semantic roles & 50–950 ramp

primary
#18795A
secondary
#AE3F62
accent
#3E75EA
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #18795A

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

Preview Lab → · Contrast checker → · Palette generator →

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