#CDAF4C#CDAF4C
#CDAF4C is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.122 H 92.4°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF4C |
|---|---|
| RGB | rgb(205, 175, 76) |
| HSL | hsl(46, 56%, 55%) |
| HSV | hsv(46, 63%, 80%) |
| CMYK | cmyk(0%, 14.6%, 62.9%, 19.6%) |
| CIE-LAB | lab(72.34, -0.49, 53.43) |
| CIE-LCH | lch(72.34, 53.43, 90.53°) |
| OKLab | oklab(76.14% -0.005 0.1224) |
| OKLCH | oklch(76.14% 0.122 92.4) |
| XYZ | xyz(41.8133, 44.1631, 13.1580) |
| Luminance | 0.4416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.54
Mustard
#DBB42C
ΔE00 4.59
Sandy Brown
#C4A661
ΔE00 5.40
Burnt Yellow
#D5AB09
ΔE00 5.56
Tan (survey)
#D1B26F
ΔE00 5.57
Brownish Yellow
#C9B003
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF4C #4C6ACD
analogous
#CD6F4C #CDAF4C #AACD4C
triadic
#CDAF4C #4CCDAF #AF4CCD
tetradic
#CDAF4C #4CCD6F #4C6ACD #CD4CAA
square
#CDAF4C #4CCD6F #4C6ACD #CD4CAA
split-complementary
#CDAF4C #4CAACD #6F4CCD
monochromatic
#7C6723 #AC8F30 #CDAF4C #DAC47C #E8DAAC
Accessibility & contrast
On white
2.14
#CDAF4C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#CDAF4C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF4C
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF4C | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC41
Deuteranopia (green-blind)
#C8B550
Tritanopia (blue-blind)
#DDA29A
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf4c; /* rgb */ color: rgb(205, 175, 76); /* oklch */ color: oklch(76.1% 0.122 92.4);
Tailwind
colors: {
custom: {
50: '#dfc682',
500: '#cdaf4c',
950: '#000000',
},
}SCSS
$custom: #cdaf4c; $custom-light: #dfc682; $custom-dark: #000000;
JSON
{
"hex": "#cdaf4c",
"rgb": {
"r": 205,
"g": 175,
"b": 76
},
"hsl": {
"h": 46.047,
"s": 56.332,
"l": 55.098
},
"oklch": {
"l": 0.76144,
"c": 0.12246,
"h": 92.4
},
"luminance": 0.44161
}Semantic roles & 50–950 ramp
primary
#CDAF4C
secondary
#9FACD5
accent
#6BE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C