#CDAF36#CDAF36
#CDAF36 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.138 H 94.6°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF36 |
|---|---|
| RGB | rgb(205, 175, 54) |
| HSL | hsl(48, 60%, 51%) |
| HSV | hsv(48, 74%, 80%) |
| CMYK | cmyk(0%, 14.6%, 73.7%, 19.6%) |
| CIE-LAB | lab(72.17, -1.70, 62.40) |
| CIE-LCH | lch(72.17, 62.42, 91.56°) |
| OKLab | oklab(75.96% -0.0111 0.1377) |
| OKLCH | oklch(75.96% 0.138 94.6) |
| XYZ | xyz(41.1749, 43.9077, 9.7956) |
| Luminance | 0.4390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.15
Brownish Yellow
#C9B003
ΔE00 3.37
Mustard (survey)
#CEB301
ΔE00 3.52
Dark Yellow
#D5B60A
ΔE00 3.71
Burnt Yellow
#D5AB09
ΔE00 3.86
Gold (survey)
#DBB40C
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF36 #3654CD
analogous
#CD6336 #CDAF36 #A0CD36
triadic
#CDAF36 #36CDAF #AF36CD
tetradic
#CDAF36 #36CD63 #3654CD #CD36A0
square
#CDAF36 #36CD63 #3654CD #CD36A0
split-complementary
#CDAF36 #36A0CD #6336CD
monochromatic
#6D5D1B #9E8727 #CDAF36 #D9C367 #E5D698
Accessibility & contrast
On white
2.15
#CDAF36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#CDAF36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF36
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF36 | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC22
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#DEA197
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf36; /* rgb */ color: rgb(205, 175, 54); /* oklch */ color: oklch(76.0% 0.138 94.6);
Tailwind
colors: {
custom: {
50: '#e0c675',
500: '#cdaf36',
950: '#000000',
},
}SCSS
$custom: #cdaf36; $custom-light: #e0c675; $custom-dark: #000000;
JSON
{
"hex": "#cdaf36",
"rgb": {
"r": 205,
"g": 175,
"b": 54
},
"hsl": {
"h": 48.079,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.75955,
"c": 0.1381,
"h": 94.6
},
"luminance": 0.43905
}Semantic roles & 50–950 ramp
primary
#CDAF36
secondary
#8E9BD1
accent
#64E344
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B