#cdcf08
a dark, electric yellow · cool · closest name: gold
RGB
205, 207, 8
HSL
61°, 93%, 42%
CMYK
1, 0, 96, 19
Luminance
0.5762
Every format
| HEX | #cdcf08 |
| RGB | rgb(205, 207, 8) |
| HSL | hsl(61, 93%, 42%) |
| CMYK | cmyk(1%, 0%, 96%, 19%) |
| LAB | lab(80.5 -19.2 79.8) |
| LCH | lch(80.5 82.1 103.5) |
| OKLCH | oklch(0.826 0.180 110.5) |
Copy-ready code
/* CSS */
color: #cdcf08;
background-color: #cdcf08;
/* Tailwind (arbitrary) */
class="text-[#cdcf08] bg-[#cdcf08]"
/* SCSS */
$brand: #cdcf08;
/* SwiftUI */
Color(red: 0.804, green: 0.812, blue: 0.031)
/* Android */
Color.parseColor("#cdcf08")Accessibility — WCAG contrast
Aa
#cdcf08 on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdcf08 on black: 12.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green81.2%
Blue3.1%
CMYK percentages
Cyan1.0%
Magenta0.0%
Yellow96.1%
Key (black)18.8%
Color previews
#cdcf08 text on a black background
contrast 12.52:1
Card sample
#cdcf08 text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdcf08;
Background color
Panel with #cdcf08 background
background-color: #cdcf08;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdcf08;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 207, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 207, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcf08; background: linear-gradient(135deg, #cdcf08, #48CF08);