#CDAF3E#CDAF3E
#CDAF3E is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.133 H 93.9°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF3E |
|---|---|
| RGB | rgb(205, 175, 62) |
| HSL | hsl(47, 59%, 52%) |
| HSV | hsv(47, 70%, 80%) |
| CMYK | cmyk(0%, 14.6%, 69.8%, 19.6%) |
| CIE-LAB | lab(72.22, -1.31, 59.33) |
| CIE-LCH | lch(72.22, 59.35, 91.27°) |
| OKLab | oklab(76.02% -0.0091 0.1326) |
| OKLCH | oklch(76.02% 0.133 93.9) |
| XYZ | xyz(41.3784, 43.9892, 10.8678) |
| Luminance | 0.4399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.49
Brownish Yellow
#C9B003
ΔE00 4.16
Mustard (survey)
#CEB301
ΔE00 4.32
Burnt Yellow
#D5AB09
ΔE00 4.34
Dark Yellow
#D5B60A
ΔE00 4.45
Gold (survey)
#DBB40C
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF3E #3E5CCD
analogous
#CD683E #CDAF3E #A3CD3E
triadic
#CDAF3E #3ECDAF #AF3ECD
tetradic
#CDAF3E #3ECD68 #3E5CCD #CD3EA3
square
#CDAF3E #3ECD68 #3E5CCD #CD3EA3
split-complementary
#CDAF3E #3EA3CD #683ECD
monochromatic
#73611E #A38A2A #CDAF3E #DAC36F #E6D79F
Accessibility & contrast
On white
2.14
#CDAF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#CDAF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF3E
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF3E | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC2E
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#DDA198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf3e; /* rgb */ color: rgb(205, 175, 62); /* oklch */ color: oklch(76.0% 0.133 93.9);
Tailwind
colors: {
custom: {
50: '#e0c67a',
500: '#cdaf3e',
950: '#000000',
},
}SCSS
$custom: #cdaf3e; $custom-light: #e0c67a; $custom-dark: #000000;
JSON
{
"hex": "#cdaf3e",
"rgb": {
"r": 205,
"g": 175,
"b": 62
},
"hsl": {
"h": 47.413,
"s": 58.848,
"l": 52.353
},
"oklch": {
"l": 0.76015,
"c": 0.13295,
"h": 93.9
},
"luminance": 0.43987
}Semantic roles & 50–950 ramp
primary
#CDAF3E
secondary
#94A1D3
accent
#67E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C