#CDAF3B#CDAF3B
#CDAF3B is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.135 H 94.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF3B |
|---|---|
| RGB | rgb(205, 175, 59) |
| HSL | hsl(48, 59%, 52%) |
| HSV | hsv(48, 71%, 80%) |
| CMYK | cmyk(0%, 14.6%, 71.2%, 19.6%) |
| CIE-LAB | lab(72.20, -1.47, 60.51) |
| CIE-LCH | lch(72.20, 60.53, 91.39°) |
| OKLab | oklab(75.99% -0.0099 0.1346) |
| OKLCH | oklch(75.99% 0.135 94.2) |
| XYZ | xyz(41.2984, 43.9571, 10.4461) |
| Luminance | 0.4395 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.34
Brownish Yellow
#C9B003
ΔE00 3.85
Mustard (survey)
#CEB301
ΔE00 4.00
Burnt Yellow
#D5AB09
ΔE00 4.14
Dark Yellow
#D5B60A
ΔE00 4.16
Gold (survey)
#DBB40C
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF3B #3B59CD
analogous
#CD663B #CDAF3B #A2CD3B
triadic
#CDAF3B #3BCDAF #AF3BCD
tetradic
#CDAF3B #3BCD66 #3B59CD #CD3BA2
square
#CDAF3B #3BCD66 #3B59CD #CD3BA2
split-complementary
#CDAF3B #3BA2CD #663BCD
monochromatic
#71601D #A28929 #CDAF3B #D9C36C #E6D79D
Accessibility & contrast
On white
2.14
#CDAF3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#CDAF3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF3B
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF3B | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC2A
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#DDA198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf3b; /* rgb */ color: rgb(205, 175, 59); /* oklch */ color: oklch(76.0% 0.135 94.2);
Tailwind
colors: {
custom: {
50: '#e0c678',
500: '#cdaf3b',
950: '#000000',
},
}SCSS
$custom: #cdaf3b; $custom-light: #e0c678; $custom-dark: #000000;
JSON
{
"hex": "#cdaf3b",
"rgb": {
"r": 205,
"g": 175,
"b": 59
},
"hsl": {
"h": 47.671,
"s": 59.35,
"l": 51.765
},
"oklch": {
"l": 0.75991,
"c": 0.13496,
"h": 94.2
},
"luminance": 0.43955
}Semantic roles & 50–950 ramp
primary
#CDAF3B
secondary
#929FD2
accent
#66E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B