Skip to content
Kolorvia
#0c0c02

Color #0c0c02

A vivid, highly saturated very dark yellow.

Conversions

HEX
#0c0c02
RGB
rgb(12, 12, 2)
HSL
hsl(60, 71.4%, 2.7%)
HSV / HSB
hsv(60, 83.3%, 4.7%)
CMYK
cmyk(0%, 0%, 83.3%, 95.3%)
LAB
lab(3.12, -1.41, 3.83)
LCH
lch(3.12, 4.08, 110.21)
OKLCH
oklch(15%, 0.0251, 109.09)
HWB
hwb(60, 0.8%, 95.3%)

Harmony colors

Complementary

#02020c

Analogous

#0c0702
#0c0c02
#070c02

Triadic

#0c0c02
#020c0c
#0c020c

Split-complementary

#0c0c02
#02070c
#07020c

Tetradic

#0c0c02
#020c02
#02020c
#0c020c

Square

#0c0c02
#020c07
#02020c
#0c0207

Shades

Color #0c0c02 mixed toward black.

#0a0a02
#080801
#060601
#040401
#020200

Tints

Color #0c0c02 mixed toward white.

#53530e
#9a9a1a
#dcdc2a
#e7e771
#f3f3b8

Tones

Color #0c0c02 mixed toward gray.

#0b0b03
#0a0a04
#090904
#090905
#080806

Accessibility

Aa White text on this color
19.64:1
Aa Black text on this color
1.07:1

White text reads better on this background (19.64:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#0c0c04 · ΔE 0.7

Deuteranopia

#0c0c05 · ΔE 1.1

Tritanopia

#0c0607 · ΔE 5.8

Achromatopsia

#0b0b0b · ΔE 4

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #0c0c02;
Tailwind (arbitrary value)
bg-[#0c0c02]

Related colors

Ivory #fffff0
Beige #f5f5dc
Light Goldenrod Yellow #fafad2
Light Yellow #ffffe0
Olive #808000
Yellow #ffff00

Frequently asked questions

#0c0c02 (#0c0c02) is rgb(12, 12, 2) in RGB.

No, #0c0c02 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #0c0c02, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.