#CDB016#CDB016
#CDB016 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.0% C 0.153 H 96.8°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB016 |
|---|---|
| RGB | rgb(205, 176, 22) |
| HSL | hsl(50, 81%, 45%) |
| HSV | hsv(50, 89%, 80%) |
| CMYK | cmyk(0%, 14.1%, 89.3%, 19.6%) |
| CIE-LAB | lab(72.29, -3.23, 71.66) |
| CIE-LCH | lch(72.29, 71.73, 92.58°) |
| OKLab | oklab(76.01% -0.018 0.1516) |
| OKLCH | oklch(76.01% 0.153 96.8) |
| XYZ | xyz(40.8493, 44.0901, 7.1175) |
| Luminance | 0.4409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard (survey)
#CEB301
ΔE00 1.26
Brownish Yellow
#C9B003
ΔE00 1.27
Dark Yellow
#D5B60A
ΔE00 1.94
Gold (survey)
#DBB40C
ΔE00 3.07
Muddy Yellow
#BFAC05
ΔE00 3.13
Mustard
#DBB42C
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB016 #1633CD
analogous
#CD5516 #CDB016 #8FCD16
triadic
#CDB016 #16CDB0 #B016CD
tetradic
#CDB016 #16CD55 #1633CD #CD168F
square
#CDB016 #16CD55 #1633CD #CD168F
split-complementary
#CDB016 #168FCD #5516CD
monochromatic
#5E510A #968110 #CDB016 #EACD37 #EFDB6E
Accessibility & contrast
On white
2.14
#CDB016 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#CDB016 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB016
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB016 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB016 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#CBB526
Tritanopia (blue-blind)
#DEA196
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdb016; /* rgb */ color: rgb(205, 176, 22); /* oklch */ color: oklch(76.0% 0.153 96.8);
Tailwind
colors: {
custom: {
50: '#e1c768',
500: '#cdb016',
950: '#000000',
},
}SCSS
$custom: #cdb016; $custom-light: #e1c768; $custom-dark: #000000;
JSON
{
"hex": "#cdb016",
"rgb": {
"r": 205,
"g": 176,
"b": 22
},
"hsl": {
"h": 50.492,
"s": 80.617,
"l": 44.51
},
"oklch": {
"l": 0.76007,
"c": 0.15263,
"h": 96.8
},
"luminance": 0.44088
}Semantic roles & 50–950 ramp
primary
#CDB016
secondary
#697BD5
accent
#50F731
background
#FEFCF6
surface
#FDF8EC
border
#D5D1C7
text
#161307
muted
#84827A