#CDAF45#CDAF45
#CDAF45 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.128 H 93.2°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAF45 |
|---|---|
| RGB | rgb(205, 175, 69) |
| HSL | hsl(47, 58%, 54%) |
| HSV | hsv(47, 66%, 80%) |
| CMYK | cmyk(0%, 14.6%, 66.3%, 19.6%) |
| CIE-LAB | lab(72.28, -0.93, 56.46) |
| CIE-LCH | lch(72.28, 56.46, 90.94°) |
| OKLab | oklab(76.08% -0.0071 0.1277) |
| OKLCH | oklch(76.08% 0.128 93.2) |
| XYZ | xyz(41.5830, 44.0710, 11.9454) |
| Luminance | 0.4407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.97
Desert
#CCAD60
ΔE00 4.44
Burnt Yellow
#D5AB09
ΔE00 4.89
Brownish Yellow
#C9B003
ΔE00 4.96
Mustard (survey)
#CEB301
ΔE00 5.12
Dark Yellow
#D5B60A
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAF45 #4563CD
analogous
#CD6B45 #CDAF45 #A7CD45
triadic
#CDAF45 #45CDAF #AF45CD
tetradic
#CDAF45 #45CD6B #4563CD #CD45A7
square
#CDAF45 #45CD6B #4563CD #CD45A7
split-complementary
#CDAF45 #45A7CD #6B45CD
monochromatic
#776420 #A88D2D #CDAF45 #DAC475 #E7D8A5
Accessibility & contrast
On white
2.14
#CDAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#CDAF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAF45
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAF45 | 1.00 | 2.14 | 9.81 | 9.81 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#DDA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cdaf45; /* rgb */ color: rgb(205, 175, 69); /* oklch */ color: oklch(76.1% 0.128 93.2);
Tailwind
colors: {
custom: {
50: '#e0c67e',
500: '#cdaf45',
950: '#000000',
},
}SCSS
$custom: #cdaf45; $custom-light: #e0c67e; $custom-dark: #000000;
JSON
{
"hex": "#cdaf45",
"rgb": {
"r": 205,
"g": 175,
"b": 69
},
"hsl": {
"h": 46.765,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.76076,
"c": 0.12793,
"h": 93.2
},
"luminance": 0.44069
}Semantic roles & 50–950 ramp
primary
#CDAF45
secondary
#9AA7D4
accent
#69E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C