#CDAF55#CDAF55
#CDAF55 is a light, moderate yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.115 H 91.1°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF55 |
|---|---|
| RGB | rgb(205, 175, 85) |
| HSL | hsl(45, 55%, 57%) |
| HSV | hsv(45, 59%, 80%) |
| CMYK | cmyk(0%, 14.6%, 58.5%, 19.6%) |
| CIE-LAB | lab(72.43, 0.14, 49.34) |
| CIE-LCH | lch(72.43, 49.34, 89.84°) |
| OKLab | oklab(76.24% -0.0021 0.1148) |
| OKLCH | oklch(76.24% 0.115 91.1) |
| XYZ | xyz(42.1484, 44.2971, 14.9227) |
| Luminance | 0.4430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.27
Sandy Brown
#C4A661
ΔE00 4.30
Tan (survey)
#D1B26F
ΔE00 4.31
Sand Brown
#CBA560
ΔE00 5.42
Mustard
#DBB42C
ΔE00 5.61
Sandstone
#C9AE74
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF55 #5573CD
analogous
#CD7355 #CDAF55 #AFCD55
triadic
#CDAF55 #55CDAF #AF55CD
tetradic
#CDAF55 #55CD73 #5573CD #CD55AF
square
#CDAF55 #55CD73 #5573CD #CD55AF
split-complementary
#CDAF55 #55AFCD #7355CD
monochromatic
#826B26 #B19234 #CDAF55 #DBC584 #E9DCB4
Accessibility & contrast
On white
2.13
#CDAF55 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#CDAF55 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF55
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF55 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF55 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AD4C
Deuteranopia (green-blind)
#C7B559
Tritanopia (blue-blind)
#DCA39B
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cdaf55; /* rgb */ color: rgb(205, 175, 85); /* oklch */ color: oklch(76.2% 0.115 91.1);
Tailwind
colors: {
custom: {
50: '#dfc688',
500: '#cdaf55',
950: '#000000',
},
}SCSS
$custom: #cdaf55; $custom-light: #dfc688; $custom-dark: #000000;
JSON
{
"hex": "#cdaf55",
"rgb": {
"r": 205,
"g": 175,
"b": 85
},
"hsl": {
"h": 45,
"s": 54.545,
"l": 56.863
},
"oklch": {
"l": 0.76243,
"c": 0.1148,
"h": 91.1
},
"luminance": 0.44295
}Semantic roles & 50–950 ramp
primary
#CDAF55
secondary
#A6B3D7
accent
#6FDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C