#CDB216#CDB216
#CDB216 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.154 H 97.8°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB216 |
|---|---|
| RGB | rgb(205, 178, 22) |
| HSL | hsl(51, 81%, 45%) |
| HSV | hsv(51, 89%, 80%) |
| CMYK | cmyk(0%, 13.2%, 89.3%, 19.6%) |
| CIE-LAB | lab(72.81, -4.27, 72.07) |
| CIE-LCH | lch(72.81, 72.19, 93.39°) |
| OKLab | oklab(76.42% -0.0209 0.1525) |
| OKLCH | oklch(76.42% 0.154 97.8) |
| XYZ | xyz(41.2444, 44.8802, 7.2492) |
| Luminance | 0.4488 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard (survey)
#CEB301
ΔE00 0.76
Brownish Yellow
#C9B003
ΔE00 0.96
Dark Yellow
#D5B60A
ΔE00 1.74
Muddy Yellow
#BFAC05
ΔE00 2.95
Mustard Yellow
#D2BD0A
ΔE00 3.29
Gold (survey)
#DBB40C
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB216 #1631CD
analogous
#CD5716 #CDB216 #8CCD16
triadic
#CDB216 #16CDB2 #B216CD
tetradic
#CDB216 #16CD57 #1631CD #CD168C
square
#CDB216 #16CD57 #1631CD #CD168C
split-complementary
#CDB216 #168CCD #5716CD
monochromatic
#5E520A #968210 #CDB216 #EACF37 #EFDC6E
Accessibility & contrast
On white
2.11
#CDB216 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.98
#CDB216 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB216
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB216 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB216 | 1.00 | 2.11 | 9.98 | 9.98 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#CCB726
Tritanopia (blue-blind)
#DEA398
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cdb216; /* rgb */ color: rgb(205, 178, 22); /* oklch */ color: oklch(76.4% 0.154 97.8);
Tailwind
colors: {
custom: {
50: '#e1c869',
500: '#cdb216',
950: '#000000',
},
}SCSS
$custom: #cdb216; $custom-light: #e1c869; $custom-dark: #000000;
JSON
{
"hex": "#cdb216",
"rgb": {
"r": 205,
"g": 178,
"b": 22
},
"hsl": {
"h": 51.148,
"s": 80.617,
"l": 44.51
},
"oklch": {
"l": 0.76422,
"c": 0.15391,
"h": 97.8
},
"luminance": 0.44878
}Semantic roles & 50–950 ramp
primary
#CDB216
secondary
#6979D5
accent
#4EF731
background
#FEFCF6
surface
#FDF8EC
border
#D5D1C7
text
#161307
muted
#84827A