#CCAE3C#CCAE3C
#CCAE3C is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.7% C 0.133 H 94.0°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAE3C |
|---|---|
| RGB | rgb(204, 174, 60) |
| HSL | hsl(48, 59%, 52%) |
| HSV | hsv(48, 71%, 80%) |
| CMYK | cmyk(0%, 14.7%, 70.6%, 20%) |
| CIE-LAB | lab(71.85, -1.32, 59.73) |
| CIE-LCH | lch(71.85, 59.75, 91.27°) |
| OKLab | oklab(75.7% -0.0093 0.1332) |
| OKLCH | oklch(75.7% 0.133 94) |
| XYZ | xyz(40.8556, 43.4380, 10.5065) |
| Luminance | 0.4344 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.58
Brownish Yellow
#C9B003
ΔE00 4.06
Burnt Yellow
#D5AB09
ΔE00 4.24
Mustard (survey)
#CEB301
ΔE00 4.28
Dark Yellow
#D5B60A
ΔE00 4.47
Gold (survey)
#DBB40C
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAE3C #3C5ACC
analogous
#CC663C #CCAE3C #A2CC3C
triadic
#CCAE3C #3CCCAE #AE3CCC
tetradic
#CCAE3C #3CCC66 #3C5ACC #CC3CA2
square
#CCAE3C #3CCC66 #3C5ACC #CC3CA2
split-complementary
#CCAE3C #3CA2CC #663CCC
monochromatic
#705F1D #A1882A #CCAE3C #D9C26D #E5D69D
Accessibility & contrast
On white
2.17
#CCAE3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.69
#CCAE3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAE3C
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAE3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAE3C | 1.00 | 2.17 | 9.69 | 9.69 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2C
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#DCA097
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ccae3c; /* rgb */ color: rgb(204, 174, 60); /* oklch */ color: oklch(75.7% 0.133 94.0);
Tailwind
colors: {
custom: {
50: '#dfc578',
500: '#ccae3c',
950: '#000000',
},
}SCSS
$custom: #ccae3c; $custom-light: #dfc578; $custom-dark: #000000;
JSON
{
"hex": "#ccae3c",
"rgb": {
"r": 204,
"g": 174,
"b": 60
},
"hsl": {
"h": 47.5,
"s": 58.537,
"l": 51.765
},
"oklch": {
"l": 0.75696,
"c": 0.13349,
"h": 94
},
"luminance": 0.43436
}Semantic roles & 50–950 ramp
primary
#CCAE3C
secondary
#929FD1
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B