#18402C#18402C

#18402C is a dark, muted teal. Relative luminance 0.040; OKLCH L 33.6% C 0.058 H 159.1°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#18402C
RGBrgb(24, 64, 44)
HSLhsl(150, 45%, 17%)
HSVhsv(150, 63%, 25%)
CMYKcmyk(62.5%, 0%, 31.2%, 74.9%)
CIE-LABlab(23.81, -19.71, 8.09)
CIE-LCHlch(23.81, 21.31, 157.70°)
OKLaboklab(33.63% -0.054 0.0206)
OKLCHoklch(33.63% 0.058 159.1)
XYZxyz(2.6645, 4.0426, 3.0223)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18402C #40182C
analogous
#184018 #18402C #184040
triadic
#18402C #2C1840 #402C18
tetradic
#18402C #181840 #40182C #404018
square
#18402C #181840 #40182C #404018
split-complementary
#18402C #401840 #401818
monochromatic
#08160F #08160F #18402C #296D4B #399969

Accessibility & contrast

On white

11.61
#18402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#18402C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18402C
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18402C#FFFFFF#000000##FFFFFF
##18402C1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2B
Deuteranopia (green-blind)
#3A372D
Tritanopia (blue-blind)
#0A403B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18402c;
/* rgb */ color: rgb(24, 64, 44);
/* oklch */ color: oklch(33.6% 0.058 159.1);
Tailwind
colors: {
  custom: {
    50: '#597565',
    500: '#18402c',
    950: '#000000',
  },
}
SCSS
$custom: #18402c;
$custom-light: #597565;
$custom-dark: #000000;
JSON
{
  "hex": "#18402c",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 150,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33629,
    "c": 0.05782,
    "h": 159.1
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#18402C
secondary
#773D5A
accent
#5394D5
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040805
muted
#797B7A

Preview Lab

Preview with #18402C

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

Preview Lab → · Contrast checker → · Palette generator →

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