#0C1002#0C1002
#0C1002 is a very dark, muted yellow-green. Relative luminance 0.005; OKLCH L 16.4% C 0.032 H 120.9°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).
Color values
| HEX | #0C1002 |
|---|---|
| RGB | rgb(12, 16, 2) |
| HSL | hsl(77, 78%, 4%) |
| HSV | hsv(77, 88%, 6%) |
| CMYK | cmyk(25%, 0%, 87.5%, 93.7%) |
| CIE-LAB | lab(4.09, -3.39, 5.25) |
| CIE-LCH | lch(4.09, 6.25, 122.87°) |
| OKLab | oklab(16.35% -0.0165 0.0276) |
| OKLCH | oklch(16.35% 0.032 120.9) |
| XYZ | xyz(0.3479, 0.4531, 0.1266) |
| Luminance | 0.0045 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Almost Black
#070D0D
ΔE00 5.54
Black
#000000
ΔE00 6.71
Charcoal (survey)
#343837
ΔE00 13.24
Dark Grey
#363737
ΔE00 13.62
Onyx
#353839
ΔE00 13.97
Gunmetal
#2A3439
ΔE00 14.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C1002 #060210
analogous
#100D02 #0C1002 #051002
triadic
#0C1002 #020C10 #10020C
tetradic
#0C1002 #02100D #060210 #100205
square
#0C1002 #02100D #060210 #100205
split-complementary
#0C1002 #020510 #0D0210
monochromatic
#141B03 #141B03 #141B03 #354609 #5E7D10
Accessibility & contrast
On white
19.26
#0C1002 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.09
#0C1002 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C1002
19.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C1002 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C1002 | 1.00 | 19.26 | 1.09 | 19.26 |
| #FFFFFF | 19.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#120E01
Deuteranopia (green-blind)
#110E03
Tritanopia (blue-blind)
#0D0F0C
Achromatopsia (no color)
#0E0E0E
Design tokens & code
CSS
--color: #0c1002; /* rgb */ color: rgb(12, 16, 2); /* oklch */ color: oklch(16.4% 0.032 120.9);
Tailwind
colors: {
custom: {
50: '#4c4e47',
500: '#0c1002',
950: '#000000',
},
}SCSS
$custom: #0c1002; $custom-light: #4c4e47; $custom-dark: #000000;
JSON
{
"hex": "#0c1002",
"rgb": {
"r": 12,
"g": 16,
"b": 2
},
"hsl": {
"h": 77.143,
"s": 77.778,
"l": 3.529
},
"oklch": {
"l": 0.16353,
"c": 0.03213,
"h": 120.9
},
"luminance": 0.00453
}Semantic roles & 50–950 ramp
primary
#0C1002
secondary
#2A1955
accent
#34F46B
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010100
muted
#777777