#1A1802#1A1802

#1A1802 is a very dark, muted yellow. Relative luminance 0.009; OKLCH L 20.5% C 0.039 H 104.8°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#1A1802
RGBrgb(26, 24, 2)
HSLhsl(55, 86%, 5%)
HSVhsv(55, 92%, 10%)
CMYKcmyk(0%, 7.7%, 92.3%, 89.8%)
CIE-LABlab(7.92, -2.88, 11.00)
CIE-LCHlch(7.92, 11.37, 104.67°)
OKLaboklab(20.52% -0.0101 0.0381)
OKLCHoklch(20.52% 0.039 104.8)
XYZxyz(0.7636, 0.8773, 0.1865)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1802 #02041A
analogous
#1A0C02 #1A1802 #101A02
triadic
#1A1802 #021A18 #18021A
tetradic
#1A1802 #021A0C #02041A #1A0210
square
#1A1802 #021A0C #02041A #1A0210
split-complementary
#1A1802 #02101A #0C021A
monochromatic
#1C1A02 #1C1A02 #1C1A02 #534C06 #8C810B

Accessibility & contrast

On white

17.87
#1A1802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1A1802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1802
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1802#FFFFFF#000000##FFFFFF
##1A18021.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1701
Deuteranopia (green-blind)
#1C1803
Tritanopia (blue-blind)
#1D1613
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a1802;
/* rgb */ color: rgb(26, 24, 2);
/* oklch */ color: oklch(20.5% 0.039 104.8);
Tailwind
colors: {
  custom: {
    50: '#555447',
    500: '#1a1802',
    950: '#000000',
  },
}
SCSS
$custom: #1a1802;
$custom-light: #555447;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1802",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 2
  },
  "hsl": {
    "h": 55,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.20522,
    "c": 0.03937,
    "h": 104.8
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#1A1802
secondary
#181E60
accent
#3DFC2C
background
#F5F4F4
surface
#E9E7E6
border
#C5C3C2
text
#030200
muted
#787877

Preview Lab

Preview with #1A1802

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

Preview Lab → · Contrast checker → · Palette generator →

#1A1802 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva