#CDAF48#CDAF48
#CDAF48 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.126 H 92.9°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF48 |
|---|---|
| RGB | rgb(205, 175, 72) |
| HSL | hsl(46, 57%, 54%) |
| HSV | hsv(46, 65%, 80%) |
| CMYK | cmyk(0%, 14.6%, 64.9%, 19.6%) |
| CIE-LAB | lab(72.30, -0.75, 55.17) |
| CIE-LCH | lch(72.30, 55.18, 90.77°) |
| OKLab | oklab(76.1% -0.0063 0.1255) |
| OKLCH | oklch(76.1% 0.126 92.9) |
| XYZ | xyz(41.6785, 44.1092, 12.4483) |
| Luminance | 0.4411 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.06
Mustard
#DBB42C
ΔE00 4.22
Burnt Yellow
#D5AB09
ΔE00 5.16
Brownish Yellow
#C9B003
ΔE00 5.33
Mustard (survey)
#CEB301
ΔE00 5.49
Gold (survey)
#DBB40C
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF48 #4866CD
analogous
#CD6D48 #CDAF48 #A9CD48
triadic
#CDAF48 #48CDAF #AF48CD
tetradic
#CDAF48 #48CD6D #4866CD #CD48A9
square
#CDAF48 #48CD6D #4866CD #CD48A9
split-complementary
#CDAF48 #48A9CD #6D48CD
monochromatic
#796621 #A98E2E #CDAF48 #DAC478 #E7D9A8
Accessibility & contrast
On white
2.14
#CDAF48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#CDAF48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF48
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF48 | 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)
#C1AC3C
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#DDA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf48; /* rgb */ color: rgb(205, 175, 72); /* oklch */ color: oklch(76.1% 0.126 92.9);
Tailwind
colors: {
custom: {
50: '#e0c67f',
500: '#cdaf48',
950: '#000000',
},
}SCSS
$custom: #cdaf48; $custom-light: #e0c67f; $custom-dark: #000000;
JSON
{
"hex": "#cdaf48",
"rgb": {
"r": 205,
"g": 175,
"b": 72
},
"hsl": {
"h": 46.466,
"s": 57.082,
"l": 54.314
},
"oklch": {
"l": 0.76104,
"c": 0.12565,
"h": 92.9
},
"luminance": 0.44107
}Semantic roles & 50–950 ramp
primary
#CDAF48
secondary
#9CA9D5
accent
#6AE047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C