#18785B#18785B

#18785B is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.2% C 0.097 H 167.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#18785B
RGBrgb(24, 120, 91)
HSLhsl(162, 67%, 28%)
HSVhsv(162, 80%, 47%)
CMYKcmyk(80%, 0%, 24.2%, 52.9%)
CIE-LABlab(44.77, -34.23, 8.37)
CIE-LCHlch(44.77, 35.24, 166.26°)
OKLaboklab(51.19% -0.0947 0.0214)
OKLCHoklch(51.19% 0.097 167.3)
XYZxyz(8.9804, 14.3814, 12.1981)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18785B #781835
analogous
#18782B #18785B #186578
triadic
#18785B #5B1878 #785B18
tetradic
#18785B #2B1878 #781835 #657818
square
#18785B #2B1878 #781835 #657818
split-complementary
#18785B #781865 #782B18
monochromatic
#051A13 #0E4534 #18785B #22AB82 #34D6A5

Accessibility & contrast

On white

5.42
#18785B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#18785B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18785B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18785B#FFFFFF#000000##FFFFFF
##18785B1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756F59
Deuteranopia (green-blind)
#69665D
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #18785b;
/* rgb */ color: rgb(24, 120, 91);
/* oklch */ color: oklch(51.2% 0.097 167.3);
Tailwind
colors: {
  custom: {
    50: '#66a089',
    500: '#18785b',
    950: '#000000',
  },
}
SCSS
$custom: #18785b;
$custom-light: #66a089;
$custom-dark: #000000;
JSON
{
  "hex": "#18785b",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 91
  },
  "hsl": {
    "h": 161.875,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.09707,
    "h": 167.3
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#18785B
secondary
#AD3F60
accent
#3E72EA
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #18785B

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

Preview Lab → · Contrast checker → · Palette generator →

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