#181A02#181A02

#181A02 is a very dark, muted yellow. Relative luminance 0.009; OKLCH L 20.9% C 0.043 H 113.7°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#181A02
RGBrgb(24, 26, 2)
HSLhsl(65, 86%, 5%)
HSVhsv(65, 92%, 10%)
CMYKcmyk(7.7%, 0%, 92.3%, 89.8%)
CIE-LABlab(8.46, -5.45, 11.74)
CIE-LCHlch(8.46, 12.95, 114.88°)
OKLaboklab(20.89% -0.0171 0.0391)
OKLCHoklch(20.89% 0.043 113.7)
XYZxyz(0.7571, 0.9374, 0.1985)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A02 #04021A
analogous
#1A1002 #181A02 #0C1A02
triadic
#181A02 #02181A #1A0218
tetradic
#181A02 #021A10 #04021A #1A020C
square
#181A02 #021A10 #04021A #1A020C
split-complementary
#181A02 #020C1A #10021A
monochromatic
#1A1C02 #1A1C02 #1A1C02 #4C5306 #818C0B

Accessibility & contrast

On white

17.69
#181A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#181A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A02
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A02#FFFFFF#000000##FFFFFF
##181A021.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1800
Deuteranopia (green-blind)
#1D1903
Tritanopia (blue-blind)
#1A1815
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #181a02;
/* rgb */ color: rgb(24, 26, 2);
/* oklch */ color: oklch(20.9% 0.043 113.7);
Tailwind
colors: {
  custom: {
    50: '#545647',
    500: '#181a02',
    950: '#000000',
  },
}
SCSS
$custom: #181a02;
$custom-light: #545647;
$custom-dark: #000000;
JSON
{
  "hex": "#181a02",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 2
  },
  "hsl": {
    "h": 65,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.20894,
    "c": 0.04265,
    "h": 113.7
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#181A02
secondary
#1E1860
accent
#2CFC3D
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #181A02

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

Preview Lab → · Contrast checker → · Palette generator →

#181A02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva