#CDAF50#CDAF50
#CDAF50 is a light, moderate yellow. Relative luminance 0.442; OKLCH L 76.2% C 0.119 H 91.8°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF50 |
|---|---|
| RGB | rgb(205, 175, 80) |
| HSL | hsl(46, 56%, 56%) |
| HSV | hsv(46, 61%, 80%) |
| CMYK | cmyk(0%, 14.6%, 61%, 19.6%) |
| CIE-LAB | lab(72.38, -0.22, 51.64) |
| CIE-LCH | lch(72.38, 51.64, 90.25°) |
| OKLab | oklab(76.19% -0.0038 0.1191) |
| OKLCH | oklch(76.19% 0.119 91.8) |
| XYZ | xyz(41.9567, 44.2205, 13.9133) |
| Luminance | 0.4422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.99
Sandy Brown
#C4A661
ΔE00 4.92
Mustard
#DBB42C
ΔE00 5.02
Tan (survey)
#D1B26F
ΔE00 5.03
Burnt Yellow
#D5AB09
ΔE00 6.00
Sand Brown
#CBA560
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF50 #506ECD
analogous
#CD7050 #CDAF50 #ACCD50
triadic
#CDAF50 #50CDAF #AF50CD
tetradic
#CDAF50 #50CD70 #506ECD #CD50AC
square
#CDAF50 #50CD70 #506ECD #CD50AC
split-complementary
#CDAF50 #50ACCD #7050CD
monochromatic
#7E6924 #AE9032 #CDAF50 #DBC580 #E8DBAF
Accessibility & contrast
On white
2.13
#CDAF50 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#CDAF50 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF50
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF50 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF50 | 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)
#C0AC46
Deuteranopia (green-blind)
#C8B554
Tritanopia (blue-blind)
#DCA29A
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf50; /* rgb */ color: rgb(205, 175, 80); /* oklch */ color: oklch(76.2% 0.119 91.8);
Tailwind
colors: {
custom: {
50: '#dfc684',
500: '#cdaf50',
950: '#000000',
},
}SCSS
$custom: #cdaf50; $custom-light: #dfc684; $custom-dark: #000000;
JSON
{
"hex": "#cdaf50",
"rgb": {
"r": 205,
"g": 175,
"b": 80
},
"hsl": {
"h": 45.6,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.76187,
"c": 0.11914,
"h": 91.8
},
"luminance": 0.44218
}Semantic roles & 50–950 ramp
primary
#CDAF50
secondary
#A2AFD6
accent
#6DDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C