#18402D#18402D

#18402D is a dark, muted teal. Relative luminance 0.041; OKLCH L 33.7% C 0.057 H 160.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#18402D
RGBrgb(24, 64, 45)
HSLhsl(152, 45%, 17%)
HSVhsv(152, 63%, 25%)
CMYKcmyk(62.5%, 0%, 29.7%, 74.9%)
CIE-LABlab(23.84, -19.46, 7.47)
CIE-LCHlch(23.84, 20.84, 159.01°)
OKLaboklab(33.66% -0.0535 0.0191)
OKLCHoklch(33.66% 0.057 160.4)
XYZxyz(2.6835, 4.0502, 3.1225)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18402D #40182B
analogous
#184019 #18402D #183F40
triadic
#18402D #2D1840 #402D18
tetradic
#18402D #191840 #40182B #3F4018
square
#18402D #191840 #40182B #3F4018
split-complementary
#18402D #40183F #401918
monochromatic
#081610 #081610 #18402D #296D4C #39996C

Accessibility & contrast

On white

11.60
#18402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18402D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18402D#FFFFFF#000000##FFFFFF
##18402D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2C
Deuteranopia (green-blind)
#39372E
Tritanopia (blue-blind)
#09403B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18402d;
/* rgb */ color: rgb(24, 64, 45);
/* oklch */ color: oklch(33.7% 0.057 160.4);
Tailwind
colors: {
  custom: {
    50: '#597566',
    500: '#18402d',
    950: '#000000',
  },
}
SCSS
$custom: #18402d;
$custom-light: #597566;
$custom-dark: #000000;
JSON
{
  "hex": "#18402d",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 151.5,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33658,
    "c": 0.05676,
    "h": 160.4
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#18402D
secondary
#773D58
accent
#5391D5
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040805
muted
#797B7A

Preview Lab

Preview with #18402D

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

Preview Lab → · Contrast checker → · Palette generator →

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