#CDAF47#CDAF47
#CDAF47 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.126 H 93.0°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF47 |
|---|---|
| RGB | rgb(205, 175, 71) |
| HSL | hsl(47, 57%, 54%) |
| HSV | hsv(47, 65%, 80%) |
| CMYK | cmyk(0%, 14.6%, 65.4%, 19.6%) |
| CIE-LAB | lab(72.29, -0.81, 55.61) |
| CIE-LCH | lch(72.29, 55.61, 90.83°) |
| OKLab | oklab(76.1% -0.0066 0.1263) |
| OKLCH | oklch(76.1% 0.126 93) |
| XYZ | xyz(41.6462, 44.0963, 12.2778) |
| Luminance | 0.4409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.13
Desert
#CCAD60
ΔE00 4.19
Burnt Yellow
#D5AB09
ΔE00 5.07
Brownish Yellow
#C9B003
ΔE00 5.21
Mustard (survey)
#CEB301
ΔE00 5.36
Dark Yellow
#D5B60A
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF47 #4765CD
analogous
#CD6C47 #CDAF47 #A8CD47
triadic
#CDAF47 #47CDAF #AF47CD
tetradic
#CDAF47 #47CD6C #4765CD #CD47A8
square
#CDAF47 #47CD6C #4765CD #CD47A8
split-complementary
#CDAF47 #47A8CD #6C47CD
monochromatic
#796521 #A98D2E #CDAF47 #DAC477 #E7D9A7
Accessibility & contrast
On white
2.14
#CDAF47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#CDAF47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF47
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF47 | 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)
#C1AC3B
Deuteranopia (green-blind)
#C8B54C
Tritanopia (blue-blind)
#DDA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf47; /* rgb */ color: rgb(205, 175, 71); /* oklch */ color: oklch(76.1% 0.126 93.0);
Tailwind
colors: {
custom: {
50: '#e0c67f',
500: '#cdaf47',
950: '#000000',
},
}SCSS
$custom: #cdaf47; $custom-light: #e0c67f; $custom-dark: #000000;
JSON
{
"hex": "#cdaf47",
"rgb": {
"r": 205,
"g": 175,
"b": 71
},
"hsl": {
"h": 46.567,
"s": 57.265,
"l": 54.118
},
"oklch": {
"l": 0.76095,
"c": 0.12642,
"h": 93
},
"luminance": 0.44094
}Semantic roles & 50–950 ramp
primary
#CDAF47
secondary
#9BA8D4
accent
#6AE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C