#CCAE2D#CCAE2D
#CCAE2D is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.6% C 0.142 H 95.1°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAE2D |
|---|---|
| RGB | rgb(204, 174, 45) |
| HSL | hsl(49, 64%, 49%) |
| HSV | hsv(49, 78%, 80%) |
| CMYK | cmyk(0%, 14.7%, 77.9%, 20%) |
| CIE-LAB | lab(71.76, -1.98, 65.15) |
| CIE-LCH | lch(71.76, 65.18, 91.74°) |
| OKLab | oklab(75.59% -0.0127 0.1418) |
| OKLCH | oklch(75.59% 0.142 95.1) |
| XYZ | xyz(40.5138, 43.3012, 8.7062) |
| Luminance | 0.4330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.72
Mustard (survey)
#CEB301
ΔE00 2.94
Mustard
#DBB42C
ΔE00 3.17
Dark Yellow
#D5B60A
ΔE00 3.29
Burnt Yellow
#D5AB09
ΔE00 3.51
Gold (survey)
#DBB40C
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAE2D #2D4BCC
analogous
#CC5F2D #CCAE2D #9BCC2D
triadic
#CCAE2D #2DCCAE #AE2DCC
tetradic
#CCAE2D #2DCC5F #2D4BCC #CC2D9B
square
#CCAE2D #2DCC5F #2D4BCC #CC2D9B
split-complementary
#CCAE2D #2D9BCC #5F2DCC
monochromatic
#685817 #9A8322 #CCAE2D #DBC35B #E6D58D
Accessibility & contrast
On white
2.17
#CCAE2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#CCAE2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAE2D
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAE2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAE2D | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA0F
Deuteranopia (green-blind)
#C8B436
Tritanopia (blue-blind)
#DDA096
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ccae2d; /* rgb */ color: rgb(204, 174, 45); /* oklch */ color: oklch(75.6% 0.142 95.1);
Tailwind
colors: {
custom: {
50: '#e0c571',
500: '#ccae2d',
950: '#000000',
},
}SCSS
$custom: #ccae2d; $custom-light: #e0c571; $custom-dark: #000000;
JSON
{
"hex": "#ccae2d",
"rgb": {
"r": 204,
"g": 174,
"b": 45
},
"hsl": {
"h": 48.679,
"s": 63.855,
"l": 48.824
},
"oklch": {
"l": 0.75594,
"c": 0.14235,
"h": 95.1
},
"luminance": 0.43299
}Semantic roles & 50–950 ramp
primary
#CCAE2D
secondary
#8593D0
accent
#60E741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161208
muted
#84817B