#CCAD3E#CCAD3E
#CCAD3E is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.5% C 0.131 H 93.2°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAD3E |
|---|---|
| RGB | rgb(204, 173, 62) |
| HSL | hsl(47, 58%, 52%) |
| HSV | hsv(47, 70%, 80%) |
| CMYK | cmyk(0%, 15.2%, 69.6%, 20%) |
| CIE-LAB | lab(71.61, -0.69, 58.68) |
| CIE-LCH | lch(71.61, 58.68, 90.67°) |
| OKLab | oklab(75.51% -0.0072 0.1313) |
| OKLCH | oklch(75.51% 0.131 93.2) |
| XYZ | xyz(40.7170, 43.0746, 10.7261) |
| Luminance | 0.4307 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.72
Burnt Yellow
#D5AB09
ΔE00 4.26
Brownish Yellow
#C9B003
ΔE00 4.53
Mustard (survey)
#CEB301
ΔE00 4.74
Gold (survey)
#DBB40C
ΔE00 4.86
Dark Yellow
#D5B60A
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAD3E #3E5DCC
analogous
#CC663E #CCAD3E #A4CC3E
triadic
#CCAD3E #3ECCAD #AD3ECC
tetradic
#CCAD3E #3ECC66 #3E5DCC #CC3EA4
square
#CCAD3E #3ECC66 #3E5DCC #CC3EA4
split-complementary
#CCAD3E #3EA4CC #663ECC
monochromatic
#725F1E #A2882B #CCAD3E #D9C26E #E6D69F
Accessibility & contrast
On white
2.18
#CCAD3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#CCAD3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAD3E
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAD3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAD3E | 1.00 | 2.18 | 9.61 | 9.61 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA2F
Deuteranopia (green-blind)
#C7B344
Tritanopia (blue-blind)
#DC9F96
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccad3e; /* rgb */ color: rgb(204, 173, 62); /* oklch */ color: oklch(75.5% 0.131 93.2);
Tailwind
colors: {
custom: {
50: '#dfc579',
500: '#ccad3e',
950: '#000000',
},
}SCSS
$custom: #ccad3e; $custom-light: #dfc579; $custom-dark: #000000;
JSON
{
"hex": "#ccad3e",
"rgb": {
"r": 204,
"g": 173,
"b": 62
},
"hsl": {
"h": 46.901,
"s": 58.197,
"l": 52.157
},
"oklch": {
"l": 0.75507,
"c": 0.13149,
"h": 93.2
},
"luminance": 0.43072
}Semantic roles & 50–950 ramp
primary
#CCAD3E
secondary
#94A1D2
accent
#68E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B