#CDAF4F#CDAF4F
#CDAF4F is a light, moderate yellow. Relative luminance 0.442; OKLCH L 76.2% C 0.120 H 92.0°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF4F |
|---|---|
| RGB | rgb(205, 175, 79) |
| HSL | hsl(46, 56%, 56%) |
| HSV | hsv(46, 61%, 80%) |
| CMYK | cmyk(0%, 14.6%, 61.5%, 19.6%) |
| CIE-LAB | lab(72.37, -0.29, 52.09) |
| CIE-LCH | lch(72.37, 52.09, 90.32°) |
| OKLab | oklab(76.18% -0.0041 0.1199) |
| OKLCH | oklch(76.18% 0.12 92) |
| XYZ | xyz(41.9200, 44.2058, 13.7202) |
| Luminance | 0.4420 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.13
Mustard
#DBB42C
ΔE00 4.91
Sandy Brown
#C4A661
ΔE00 5.04
Tan (survey)
#D1B26F
ΔE00 5.17
Burnt Yellow
#D5AB09
ΔE00 5.88
Sand Brown
#CBA560
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF4F #4F6DCD
analogous
#CD704F #CDAF4F #ACCD4F
triadic
#CDAF4F #4FCDAF #AF4FCD
tetradic
#CDAF4F #4FCD70 #4F6DCD #CD4FAC
square
#CDAF4F #4FCD70 #4F6DCD #CD4FAC
split-complementary
#CDAF4F #4FACCD #704FCD
monochromatic
#7E6824 #AE9031 #CDAF4F #DBC57F #E8DAAE
Accessibility & contrast
On white
2.13
#CDAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#CDAF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF4F
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF4F | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC45
Deuteranopia (green-blind)
#C8B553
Tritanopia (blue-blind)
#DDA29A
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf4f; /* rgb */ color: rgb(205, 175, 79); /* oklch */ color: oklch(76.2% 0.120 92.0);
Tailwind
colors: {
custom: {
50: '#dfc684',
500: '#cdaf4f',
950: '#000000',
},
}SCSS
$custom: #cdaf4f; $custom-light: #dfc684; $custom-dark: #000000;
JSON
{
"hex": "#cdaf4f",
"rgb": {
"r": 205,
"g": 175,
"b": 79
},
"hsl": {
"h": 45.714,
"s": 55.752,
"l": 55.686
},
"oklch": {
"l": 0.76176,
"c": 0.11998,
"h": 92
},
"luminance": 0.44204
}Semantic roles & 50–950 ramp
primary
#CDAF4F
secondary
#A2AED6
accent
#6DDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C