#CCAD40#CCAD40
#CCAD40 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.5% C 0.130 H 93.0°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAD40 |
|---|---|
| RGB | rgb(204, 173, 64) |
| HSL | hsl(47, 58%, 53%) |
| HSV | hsv(47, 69%, 80%) |
| CMYK | cmyk(0%, 15.2%, 68.6%, 20%) |
| CIE-LAB | lab(71.62, -0.58, 57.86) |
| CIE-LCH | lch(71.62, 57.87, 90.58°) |
| OKLab | oklab(75.52% -0.0067 0.1299) |
| OKLCH | oklch(75.52% 0.13 93) |
| XYZ | xyz(40.7729, 43.0970, 11.0204) |
| Luminance | 0.4309 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.85
Burnt Yellow
#D5AB09
ΔE00 4.42
Desert
#CCAD60
ΔE00 4.72
Brownish Yellow
#C9B003
ΔE00 4.74
Mustard (survey)
#CEB301
ΔE00 4.96
Gold (survey)
#DBB40C
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAD40 #405FCC
analogous
#CC6740 #CCAD40 #A5CC40
triadic
#CCAD40 #40CCAD #AD40CC
tetradic
#CCAD40 #40CC67 #405FCC #CC40A5
square
#CCAD40 #40CC67 #405FCC #CC40A5
split-complementary
#CCAD40 #40A5CC #6740CC
monochromatic
#73601F #A3892C #CCAD40 #D9C270 #E6D6A1
Accessibility & contrast
On white
2.18
#CCAD40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#CCAD40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAD40
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAD40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAD40 | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA32
Deuteranopia (green-blind)
#C7B346
Tritanopia (blue-blind)
#DCA097
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccad40; /* rgb */ color: rgb(204, 173, 64); /* oklch */ color: oklch(75.5% 0.130 93.0);
Tailwind
colors: {
custom: {
50: '#dfc57b',
500: '#ccad40',
950: '#000000',
},
}SCSS
$custom: #ccad40; $custom-light: #dfc57b; $custom-dark: #000000;
JSON
{
"hex": "#ccad40",
"rgb": {
"r": 204,
"g": 173,
"b": 64
},
"hsl": {
"h": 46.714,
"s": 57.851,
"l": 52.549
},
"oklch": {
"l": 0.75523,
"c": 0.13009,
"h": 93
},
"luminance": 0.43095
}Semantic roles & 50–950 ramp
primary
#CCAD40
secondary
#95A3D2
accent
#69E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C