#CDAF46#CDAF46
#CDAF46 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.127 H 93.1°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF46 |
|---|---|
| RGB | rgb(205, 175, 70) |
| HSL | hsl(47, 57%, 54%) |
| HSV | hsv(47, 66%, 80%) |
| CMYK | cmyk(0%, 14.6%, 65.9%, 19.6%) |
| CIE-LAB | lab(72.28, -0.87, 56.03) |
| CIE-LCH | lch(72.28, 56.04, 90.89°) |
| OKLab | oklab(76.09% -0.0069 0.127) |
| OKLCH | oklch(76.09% 0.127 93.1) |
| XYZ | xyz(41.6143, 44.0835, 12.1102) |
| Luminance | 0.4408 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.05
Desert
#CCAD60
ΔE00 4.31
Burnt Yellow
#D5AB09
ΔE00 4.98
Brownish Yellow
#C9B003
ΔE00 5.08
Mustard (survey)
#CEB301
ΔE00 5.24
Dark Yellow
#D5B60A
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF46 #4664CD
analogous
#CD6C46 #CDAF46 #A8CD46
triadic
#CDAF46 #46CDAF #AF46CD
tetradic
#CDAF46 #46CD6C #4664CD #CD46A8
square
#CDAF46 #46CD6C #4664CD #CD46A8
split-complementary
#CDAF46 #46A8CD #6C46CD
monochromatic
#786520 #A88D2D #CDAF46 #DAC476 #E7D9A6
Accessibility & contrast
On white
2.14
#CDAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#CDAF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF46
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF46 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC39
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#DDA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf46; /* rgb */ color: rgb(205, 175, 70); /* oklch */ color: oklch(76.1% 0.127 93.1);
Tailwind
colors: {
custom: {
50: '#e0c67e',
500: '#cdaf46',
950: '#000000',
},
}SCSS
$custom: #cdaf46; $custom-light: #e0c67e; $custom-dark: #000000;
JSON
{
"hex": "#cdaf46",
"rgb": {
"r": 205,
"g": 175,
"b": 70
},
"hsl": {
"h": 46.667,
"s": 57.447,
"l": 53.922
},
"oklch": {
"l": 0.76085,
"c": 0.12718,
"h": 93.1
},
"luminance": 0.44081
}Semantic roles & 50–950 ramp
primary
#CDAF46
secondary
#9BA7D4
accent
#69E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C