#18795C#18795C

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

Color values

HEX#18795C
RGBrgb(24, 121, 92)
HSLhsl(162, 67%, 28%)
HSVhsv(162, 80%, 47%)
CMYKcmyk(80.2%, 0%, 24%, 52.5%)
CIE-LABlab(45.14, -34.41, 8.29)
CIE-LCHlch(45.14, 35.40, 166.45°)
OKLaboklab(51.49% -0.0952 0.0212)
OKLCHoklch(51.49% 0.098 167.5)
XYZxyz(9.1448, 14.6405, 12.4671)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18795C #791835
analogous
#18792B #18795C #186579
triadic
#18795C #5C1879 #795C18
tetradic
#18795C #2B1879 #791835 #657918
square
#18795C #2B1879 #791835 #657918
split-complementary
#18795C #791865 #792B18
monochromatic
#051A13 #0E4635 #18795C #22AC83 #35D7A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18795C#FFFFFF#000000##FFFFFF
##18795C1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18795c;
/* rgb */ color: rgb(24, 121, 92);
/* oklch */ color: oklch(51.5% 0.098 167.5);
Tailwind
colors: {
  custom: {
    50: '#67a08a',
    500: '#18795c',
    950: '#000000',
  },
}
SCSS
$custom: #18795c;
$custom-light: #67a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#18795c",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 162.062,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.09756,
    "h": 167.5
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#18795C
secondary
#AE3F60
accent
#3E71EA
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #18795C

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

Preview Lab → · Contrast checker → · Palette generator →

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