#18402E#18402E

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

Color values

HEX#18402E
RGBrgb(24, 64, 46)
HSLhsl(153, 45%, 17%)
HSVhsv(153, 63%, 25%)
CMYKcmyk(62.5%, 0%, 28.1%, 74.9%)
CIE-LABlab(23.86, -19.20, 6.85)
CIE-LCHlch(23.86, 20.39, 160.38°)
OKLaboklab(33.69% -0.0529 0.0175)
OKLCHoklch(33.69% 0.056 161.7)
XYZxyz(2.7030, 4.0580, 3.2251)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18402E #40182A
analogous
#18401A #18402E #183E40
triadic
#18402E #2E1840 #402E18
tetradic
#18402E #1A1840 #40182A #3E4018
square
#18402E #1A1840 #40182A #3E4018
split-complementary
#18402E #40183E #401A18
monochromatic
#081610 #081610 #18402E #296D4E #39996E

Accessibility & contrast

On white

11.59
#18402E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18402E
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18402E#FFFFFF#000000##FFFFFF
##18402E1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18402e;
/* rgb */ color: rgb(24, 64, 46);
/* oklch */ color: oklch(33.7% 0.056 161.7);
Tailwind
colors: {
  custom: {
    50: '#597566',
    500: '#18402e',
    950: '#000000',
  },
}
SCSS
$custom: #18402e;
$custom-light: #597566;
$custom-dark: #000000;
JSON
{
  "hex": "#18402e",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 153,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33687,
    "c": 0.05573,
    "h": 161.7
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#18402E
secondary
#773D57
accent
#538DD5
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040806
muted
#797B7A

Preview Lab

Preview with #18402E

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

Preview Lab → · Contrast checker → · Palette generator →

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