#CDAF16#CDAF16
#CDAF16 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.8% C 0.152 H 96.2°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF16 |
|---|---|
| RGB | rgb(205, 175, 22) |
| HSL | hsl(50, 81%, 45%) |
| HSV | hsv(50, 89%, 80%) |
| CMYK | cmyk(0%, 14.6%, 89.3%, 19.6%) |
| CIE-LAB | lab(72.03, -2.70, 71.45) |
| CIE-LCH | lch(72.03, 71.50, 92.17°) |
| OKLab | oklab(75.8% -0.0165 0.1511) |
| OKLCH | oklch(75.8% 0.152 96.2) |
| XYZ | xyz(40.6540, 43.6994, 7.0524) |
| Luminance | 0.4370 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 1.53
Mustard (survey)
#CEB301
ΔE00 1.58
Dark Yellow
#D5B60A
ΔE00 2.13
Gold (survey)
#DBB40C
ΔE00 2.98
Mustard
#DBB42C
ΔE00 3.24
Muddy Yellow
#BFAC05
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF16 #1634CD
analogous
#CD5416 #CDAF16 #90CD16
triadic
#CDAF16 #16CDAF #AF16CD
tetradic
#CDAF16 #16CD54 #1634CD #CD1690
square
#CDAF16 #16CD54 #1634CD #CD1690
split-complementary
#CDAF16 #1690CD #5416CD
monochromatic
#5E510A #968010 #CDAF16 #EACC37 #EFDA6E
Accessibility & contrast
On white
2.16
#CDAF16 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#CDAF16 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF16
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF16 | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#CAB526
Tritanopia (blue-blind)
#DEA095
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf16; /* rgb */ color: rgb(205, 175, 22); /* oklch */ color: oklch(75.8% 0.152 96.2);
Tailwind
colors: {
custom: {
50: '#e1c668',
500: '#cdaf16',
950: '#000000',
},
}SCSS
$custom: #cdaf16; $custom-light: #e1c668; $custom-dark: #000000;
JSON
{
"hex": "#cdaf16",
"rgb": {
"r": 205,
"g": 175,
"b": 22
},
"hsl": {
"h": 50.164,
"s": 80.617,
"l": 44.51
},
"oklch": {
"l": 0.758,
"c": 0.15199,
"h": 96.2
},
"luminance": 0.43697
}Semantic roles & 50–950 ramp
primary
#CDAF16
secondary
#697BD5
accent
#51F731
background
#FEFCF6
surface
#FDF8EC
border
#D5D1C7
text
#161207
muted
#84817A