#181402#181402

#181402 is a very dark, muted yellow. Relative luminance 0.007; OKLCH L 19.1% C 0.035 H 98.5°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#181402
RGBrgb(24, 20, 2)
HSLhsl(49, 85%, 5%)
HSVhsv(49, 92%, 9%)
CMYKcmyk(0%, 16.7%, 91.7%, 90.6%)
CIE-LABlab(6.31, -1.08, 8.61)
CIE-LCHlch(6.31, 8.68, 97.18°)
OKLaboklab(19.08% -0.0051 0.0344)
OKLCHoklch(19.08% 0.035 98.5)
XYZxyz(0.6378, 0.6989, 0.1587)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181402 #020618
analogous
#180902 #181402 #111802
triadic
#181402 #021814 #140218
tetradic
#181402 #021809 #020618 #180211
square
#181402 #021809 #020618 #180211
split-complementary
#181402 #021118 #090218
monochromatic
#1C1802 #1C1802 #1C1802 #504307 #89720B

Accessibility & contrast

On white

18.42
#181402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#181402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181402
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181402#FFFFFF#000000##FFFFFF
##1814021.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171301
Deuteranopia (green-blind)
#181503
Tritanopia (blue-blind)
#1B1210
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #181402;
/* rgb */ color: rgb(24, 20, 2);
/* oklch */ color: oklch(19.1% 0.035 98.5);
Tailwind
colors: {
  custom: {
    50: '#545147',
    500: '#181402',
    950: '#000000',
  },
}
SCSS
$custom: #181402;
$custom-light: #545147;
$custom-dark: #000000;
JSON
{
  "hex": "#181402",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 2
  },
  "hsl": {
    "h": 49.091,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.19076,
    "c": 0.03482,
    "h": 98.5
  },
  "luminance": 0.00699
}

Semantic roles & 50–950 ramp

primary
#181402
secondary
#18255E
accent
#52FB2D
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#020200
muted
#787877

Preview Lab

Preview with #181402

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

Preview Lab → · Contrast checker → · Palette generator →

#181402 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva