#CCAE42#CCAE42
#CCAE42 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.7% C 0.129 H 93.4°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAE42 |
|---|---|
| RGB | rgb(204, 174, 66) |
| HSL | hsl(47, 58%, 53%) |
| HSV | hsv(47, 68%, 80%) |
| CMYK | cmyk(0%, 14.7%, 67.6%, 20%) |
| CIE-LAB | lab(71.90, -1.00, 57.31) |
| CIE-LCH | lch(71.90, 57.32, 91.00°) |
| OKLab | oklab(75.75% -0.0077 0.1291) |
| OKLCH | oklch(75.75% 0.129 93.4) |
| XYZ | xyz(41.0233, 43.5051, 11.3897) |
| Luminance | 0.4350 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.94
Desert
#CCAD60
ΔE00 4.66
Burnt Yellow
#D5AB09
ΔE00 4.69
Brownish Yellow
#C9B003
ΔE00 4.72
Mustard (survey)
#CEB301
ΔE00 4.93
Dark Yellow
#D5B60A
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAE42 #4260CC
analogous
#CC6942 #CCAE42 #A5CC42
triadic
#CCAE42 #42CCAE #AE42CC
tetradic
#CCAE42 #42CC69 #4260CC #CC42A5
square
#CCAE42 #42CC69 #4260CC #CC42A5
split-complementary
#CCAE42 #42A5CC #6942CC
monochromatic
#74621F #A48A2C #CCAE42 #D9C372 #E6D7A2
Accessibility & contrast
On white
2.16
#CCAE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#CCAE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAE42
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAE42 | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#DCA198
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ccae42; /* rgb */ color: rgb(204, 174, 66); /* oklch */ color: oklch(75.7% 0.129 93.4);
Tailwind
colors: {
custom: {
50: '#dfc57c',
500: '#ccae42',
950: '#000000',
},
}SCSS
$custom: #ccae42; $custom-light: #dfc57c; $custom-dark: #000000;
JSON
{
"hex": "#ccae42",
"rgb": {
"r": 204,
"g": 174,
"b": 66
},
"hsl": {
"h": 46.957,
"s": 57.5,
"l": 52.941
},
"oklch": {
"l": 0.75746,
"c": 0.12931,
"h": 93.4
},
"luminance": 0.43503
}Semantic roles & 50–950 ramp
primary
#CCAE42
secondary
#97A4D3
accent
#68E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C