#CDAF3F#CDAF3F
#CDAF3F is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.132 H 93.8°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF3F |
|---|---|
| RGB | rgb(205, 175, 63) |
| HSL | hsl(47, 59%, 53%) |
| HSV | hsv(47, 69%, 80%) |
| CMYK | cmyk(0%, 14.6%, 69.3%, 19.6%) |
| CIE-LAB | lab(72.23, -1.26, 58.93) |
| CIE-LCH | lch(72.23, 58.95, 91.23°) |
| OKLab | oklab(76.02% -0.0088 0.132) |
| OKLCH | oklch(76.02% 0.132 93.8) |
| XYZ | xyz(41.4061, 44.0002, 11.0136) |
| Luminance | 0.4400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.55
Brownish Yellow
#C9B003
ΔE00 4.27
Burnt Yellow
#D5AB09
ΔE00 4.41
Mustard (survey)
#CEB301
ΔE00 4.43
Dark Yellow
#D5B60A
ΔE00 4.55
Gold (survey)
#DBB40C
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF3F #3F5DCD
analogous
#CD683F #CDAF3F #A4CD3F
triadic
#CDAF3F #3FCDAF #AF3FCD
tetradic
#CDAF3F #3FCD68 #3F5DCD #CD3FA4
square
#CDAF3F #3FCD68 #3F5DCD #CD3FA4
split-complementary
#CDAF3F #3FA4CD #683FCD
monochromatic
#74611E #A48A2B #CDAF3F #DAC370 #E6D7A0
Accessibility & contrast
On white
2.14
#CDAF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#CDAF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF3F
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF3F | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC30
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#DDA198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf3f; /* rgb */ color: rgb(205, 175, 63); /* oklch */ color: oklch(76.0% 0.132 93.8);
Tailwind
colors: {
custom: {
50: '#e0c67a',
500: '#cdaf3f',
950: '#000000',
},
}SCSS
$custom: #cdaf3f; $custom-light: #e0c67a; $custom-dark: #000000;
JSON
{
"hex": "#cdaf3f",
"rgb": {
"r": 205,
"g": 175,
"b": 63
},
"hsl": {
"h": 47.324,
"s": 58.678,
"l": 52.549
},
"oklch": {
"l": 0.76023,
"c": 0.13226,
"h": 93.8
},
"luminance": 0.43998
}Semantic roles & 50–950 ramp
primary
#CDAF3F
secondary
#95A2D3
accent
#67E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C