#18794F#18794F

#18794F is a mid, moderate teal. Relative luminance 0.144; OKLCH L 51.2% C 0.109 H 159.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#18794F
RGBrgb(24, 121, 79)
HSLhsl(154, 67%, 28%)
HSVhsv(154, 80%, 47%)
CMYKcmyk(80.2%, 0%, 34.7%, 52.5%)
CIE-LABlab(44.85, -37.59, 15.50)
CIE-LCHlch(44.85, 40.66, 157.59°)
OKLaboklab(51.16% -0.1019 0.0391)
OKLCHoklch(51.16% 0.109 159)
XYZxyz(8.6244, 14.4324, 9.7268)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18794F #791842
analogous
#18791E #18794F #187279
triadic
#18794F #4F1879 #794F18
tetradic
#18794F #1E1879 #791842 #727918
square
#18794F #1E1879 #791842 #727918
split-complementary
#18794F #791872 #791E18
monochromatic
#051A11 #0E462E #18794F #22AC70 #35D791

Accessibility & contrast

On white

5.40
#18794F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#18794F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18794F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18794F#FFFFFF#000000##FFFFFF
##18794F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4C
Deuteranopia (green-blind)
#6C6752
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #18794f;
/* rgb */ color: rgb(24, 121, 79);
/* oklch */ color: oklch(51.2% 0.109 159.0);
Tailwind
colors: {
  custom: {
    50: '#66a080',
    500: '#18794f',
    950: '#000000',
  },
}
SCSS
$custom: #18794f;
$custom-light: #66a080;
$custom-dark: #000000;
JSON
{
  "hex": "#18794f",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 79
  },
  "hsl": {
    "h": 154.021,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.1092,
    "h": 159
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#18794F
secondary
#AE3F6F
accent
#3E88EA
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #18794F

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

Preview Lab → · Contrast checker → · Palette generator →

#18794F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva