#18795B#18795B

#18795B is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.5% C 0.098 H 166.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#18795B
RGBrgb(24, 121, 91)
HSLhsl(161, 67%, 28%)
HSVhsv(161, 80%, 47%)
CMYKcmyk(80.2%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.11, -34.67, 8.85)
CIE-LCHlch(45.11, 35.78, 165.68°)
OKLaboklab(51.47% -0.0957 0.0226)
OKLCHoklch(51.47% 0.098 166.7)
XYZxyz(9.1013, 14.6232, 12.2384)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18795B #791836
analogous
#18792A #18795B #186679
triadic
#18795B #5B1879 #795B18
tetradic
#18795B #2A1879 #791836 #667918
square
#18795B #2A1879 #791836 #667918
split-complementary
#18795B #791866 #792A18
monochromatic
#051A13 #0E4635 #18795B #22AC81 #35D7A5

Accessibility & contrast

On white

5.35
#18795B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18795B
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18795B#FFFFFF#000000##FFFFFF
##18795B1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767059
Deuteranopia (green-blind)
#6A675D
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #18795b;
/* rgb */ color: rgb(24, 121, 91);
/* oklch */ color: oklch(51.5% 0.098 166.7);
Tailwind
colors: {
  custom: {
    50: '#67a089',
    500: '#18795b',
    950: '#000000',
  },
}
SCSS
$custom: #18795b;
$custom-light: #67a089;
$custom-dark: #000000;
JSON
{
  "hex": "#18795b",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 161.443,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.09838,
    "h": 166.7
  },
  "luminance": 0.14624
}

Semantic roles & 50–950 ramp

primary
#18795B
secondary
#AE3F61
accent
#3E73EA
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #18795B

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

Preview Lab → · Contrast checker → · Palette generator →

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