#CDAF4B#CDAF4B
#CDAF4B is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.123 H 92.5°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF4B |
|---|---|
| RGB | rgb(205, 175, 75) |
| HSL | hsl(46, 57%, 55%) |
| HSV | hsv(46, 63%, 80%) |
| CMYK | cmyk(0%, 14.6%, 63.4%, 19.6%) |
| CIE-LAB | lab(72.33, -0.56, 53.87) |
| CIE-LCH | lch(72.33, 53.87, 90.59°) |
| OKLab | oklab(76.13% -0.0054 0.1232) |
| OKLCH | oklch(76.13% 0.123 92.5) |
| XYZ | xyz(41.7788, 44.1493, 12.9763) |
| Luminance | 0.4415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.67
Mustard
#DBB42C
ΔE00 4.50
Burnt Yellow
#D5AB09
ΔE00 5.46
Sandy Brown
#C4A661
ΔE00 5.52
Tan (survey)
#D1B26F
ΔE00 5.70
Brownish Yellow
#C9B003
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF4B #4B69CD
analogous
#CD6E4B #CDAF4B #AACD4B
triadic
#CDAF4B #4BCDAF #AF4BCD
tetradic
#CDAF4B #4BCD6E #4B69CD #CD4BAA
square
#CDAF4B #4BCD6E #4B69CD #CD4BAA
split-complementary
#CDAF4B #4BAACD #6E4BCD
monochromatic
#7B6722 #AB8F30 #CDAF4B #DAC47B #E8DAAB
Accessibility & contrast
On white
2.14
#CDAF4B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#CDAF4B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF4B
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF4B | 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)
#C0AC40
Deuteranopia (green-blind)
#C8B550
Tritanopia (blue-blind)
#DDA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf4b; /* rgb */ color: rgb(205, 175, 75); /* oklch */ color: oklch(76.1% 0.123 92.5);
Tailwind
colors: {
custom: {
50: '#dfc681',
500: '#cdaf4b',
950: '#000000',
},
}SCSS
$custom: #cdaf4b; $custom-light: #dfc681; $custom-dark: #000000;
JSON
{
"hex": "#cdaf4b",
"rgb": {
"r": 205,
"g": 175,
"b": 75
},
"hsl": {
"h": 46.154,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.76134,
"c": 0.12327,
"h": 92.5
},
"luminance": 0.44147
}Semantic roles & 50–950 ramp
primary
#CDAF4B
secondary
#9FABD5
accent
#6BE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C