#CDAF3C#CDAF3C
#CDAF3C is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.134 H 94.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF3C |
|---|---|
| RGB | rgb(205, 175, 60) |
| HSL | hsl(48, 59%, 52%) |
| HSV | hsv(48, 71%, 80%) |
| CMYK | cmyk(0%, 14.6%, 70.7%, 19.6%) |
| CIE-LAB | lab(72.21, -1.42, 60.12) |
| CIE-LCH | lch(72.21, 60.14, 91.35°) |
| OKLab | oklab(76% -0.0096 0.134) |
| OKLCH | oklch(76% 0.134 94.1) |
| XYZ | xyz(41.3246, 43.9676, 10.5840) |
| Luminance | 0.4396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.39
Brownish Yellow
#C9B003
ΔE00 3.95
Mustard (survey)
#CEB301
ΔE00 4.11
Burnt Yellow
#D5AB09
ΔE00 4.20
Dark Yellow
#D5B60A
ΔE00 4.25
Gold (survey)
#DBB40C
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF3C #3C5ACD
analogous
#CD673C #CDAF3C #A3CD3C
triadic
#CDAF3C #3CCDAF #AF3CCD
tetradic
#CDAF3C #3CCD67 #3C5ACD #CD3CA3
square
#CDAF3C #3CCD67 #3C5ACD #CD3CA3
split-complementary
#CDAF3C #3CA3CD #673CCD
monochromatic
#71601D #A2892A #CDAF3C #D9C36D #E6D79D
Accessibility & contrast
On white
2.14
#CDAF3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#CDAF3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF3C
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF3C | 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)
#C1AC2B
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#DDA198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf3c; /* rgb */ color: rgb(205, 175, 60); /* oklch */ color: oklch(76.0% 0.134 94.1);
Tailwind
colors: {
custom: {
50: '#e0c678',
500: '#cdaf3c',
950: '#000000',
},
}SCSS
$custom: #cdaf3c; $custom-light: #e0c678; $custom-dark: #000000;
JSON
{
"hex": "#cdaf3c",
"rgb": {
"r": 205,
"g": 175,
"b": 60
},
"hsl": {
"h": 47.586,
"s": 59.184,
"l": 51.961
},
"oklch": {
"l": 0.75999,
"c": 0.13429,
"h": 94.1
},
"luminance": 0.43965
}Semantic roles & 50–950 ramp
primary
#CDAF3C
secondary
#93A0D2
accent
#66E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B