#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 |
|---|---|
| RGB | rgb(24, 20, 2) |
| HSL | hsl(49, 85%, 5%) |
| HSV | hsv(49, 92%, 9%) |
| CMYK | cmyk(0%, 16.7%, 91.7%, 90.6%) |
| CIE-LAB | lab(6.31, -1.08, 8.61) |
| CIE-LCH | lch(6.31, 8.68, 97.18°) |
| OKLab | oklab(19.08% -0.0051 0.0344) |
| OKLCH | oklch(19.08% 0.035 98.5) |
| XYZ | xyz(0.6378, 0.6989, 0.1587) |
| Luminance | 0.0070 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Almost Black
#070D0D
ΔE00 8.07
Black
#000000
ΔE00 8.21
Dark Grey
#363737
ΔE00 13.19
Charcoal (survey)
#343837
ΔE00 13.25
Dark Brown
#341C02
ΔE00 13.31
Onyx
#353839
ΔE00 13.88
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 |
|---|---|---|---|---|
| ##181402 | 1.00 | 18.42 | 1.14 | 18.42 |
| #FFFFFF | 18.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.42 | 1.00 | 21.00 | 1.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