#181702#181702
#181702 is a very dark, muted yellow. Relative luminance 0.008; OKLCH L 20.0% C 0.038 H 107.1°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).
Color values
| HEX | #181702 |
|---|---|
| RGB | rgb(24, 23, 2) |
| HSL | hsl(57, 85%, 5%) |
| HSV | hsv(57, 92%, 9%) |
| CMYK | cmyk(0%, 4.2%, 91.7%, 90.6%) |
| CIE-LAB | lab(7.33, -3.16, 10.10) |
| CIE-LCH | lch(7.33, 10.58, 107.37°) |
| OKLab | oklab(19.98% -0.0113 0.0368) |
| OKLCH | oklch(19.98% 0.038 107.1) |
| XYZ | xyz(0.6941, 0.8114, 0.1775) |
| Luminance | 0.0081 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Almost Black
#070D0D
ΔE00 9.17
Black
#000000
ΔE00 9.91
Charcoal (survey)
#343837
ΔE00 13.24
Dark Grey
#363737
ΔE00 13.57
Onyx
#353839
ΔE00 14.18
Gunmetal
#2A3439
ΔE00 15.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181702 #020318
analogous
#180C02 #181702 #0E1802
triadic
#181702 #021817 #170218
tetradic
#181702 #02180C #020318 #18020E
square
#181702 #02180C #020318 #18020E
split-complementary
#181702 #020E18 #0C0218
monochromatic
#1C1B02 #1C1B02 #1C1B02 #504D07 #89830B
Accessibility & contrast
On white
18.07
#181702 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#181702 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181702
18.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181702 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181702 | 1.00 | 18.07 | 1.16 | 18.07 |
| #FFFFFF | 18.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A1601
Deuteranopia (green-blind)
#1A1703
Tritanopia (blue-blind)
#1B1512
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #181702; /* rgb */ color: rgb(24, 23, 2); /* oklch */ color: oklch(20.0% 0.038 107.1);
Tailwind
colors: {
custom: {
50: '#545347',
500: '#181702',
950: '#000000',
},
}SCSS
$custom: #181702; $custom-light: #545347; $custom-dark: #000000;
JSON
{
"hex": "#181702",
"rgb": {
"r": 24,
"g": 23,
"b": 2
},
"hsl": {
"h": 57.273,
"s": 84.615,
"l": 5.098
},
"oklch": {
"l": 0.19975,
"c": 0.03844,
"h": 107.1
},
"luminance": 0.00811
}Semantic roles & 50–950 ramp
primary
#181702
secondary
#181B5E
accent
#36FB2D
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#020200
muted
#787877