#18402F#18402F

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

Color values

HEX#18402F
RGBrgb(24, 64, 47)
HSLhsl(155, 45%, 17%)
HSVhsv(155, 63%, 25%)
CMYKcmyk(62.5%, 0%, 26.6%, 74.9%)
CIE-LABlab(23.89, -18.94, 6.23)
CIE-LCHlch(23.89, 19.94, 161.80°)
OKLaboklab(33.72% -0.0523 0.0159)
OKLCHoklch(33.72% 0.055 163.1)
XYZxyz(2.7229, 4.0660, 3.3301)
Luminance0.0407 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18402F #401829
analogous
#18401B #18402F #183D40
triadic
#18402F #2F1840 #402F18
tetradic
#18402F #1B1840 #401829 #3D4018
square
#18402F #1B1840 #401829 #3D4018
split-complementary
#18402F #40183D #401B18
monochromatic
#081610 #081610 #18402F #296D50 #399970

Accessibility & contrast

On white

11.58
#18402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18402F
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18402F#FFFFFF#000000##FFFFFF
##18402F1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2E
Deuteranopia (green-blind)
#393730
Tritanopia (blue-blind)
#08403B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18402f;
/* rgb */ color: rgb(24, 64, 47);
/* oklch */ color: oklch(33.7% 0.055 163.1);
Tailwind
colors: {
  custom: {
    50: '#597567',
    500: '#18402f',
    950: '#000000',
  },
}
SCSS
$custom: #18402f;
$custom-light: #597567;
$custom-dark: #000000;
JSON
{
  "hex": "#18402f",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 154.5,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33717,
    "c": 0.05471,
    "h": 163.1
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#18402F
secondary
#773D56
accent
#538AD5
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040806
muted
#797B7A

Preview Lab

Preview with #18402F

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

Preview Lab → · Contrast checker → · Palette generator →

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