#CCAD45#CCAD45
#CCAD45 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.6% C 0.126 H 92.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAD45 |
|---|---|
| RGB | rgb(204, 173, 69) |
| HSL | hsl(46, 57%, 54%) |
| HSV | hsv(46, 66%, 80%) |
| CMYK | cmyk(0%, 15.2%, 66.2%, 20%) |
| CIE-LAB | lab(71.66, -0.30, 55.78) |
| CIE-LCH | lch(71.66, 55.78, 90.31°) |
| OKLab | oklab(75.57% -0.0053 0.1263) |
| OKLCH | oklch(75.57% 0.126 92.4) |
| XYZ | xyz(40.9216, 43.1564, 11.8037) |
| Luminance | 0.4315 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.11
Mustard
#DBB42C
ΔE00 4.23
Burnt Yellow
#D5AB09
ΔE00 4.87
Brownish Yellow
#C9B003
ΔE00 5.33
Gold (survey)
#DBB40C
ΔE00 5.51
Mustard (survey)
#CEB301
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAD45 #4564CC
analogous
#CC6945 #CCAD45 #A7CC45
triadic
#CCAD45 #45CCAD #AD45CC
tetradic
#CCAD45 #45CC69 #4564CC #CC45A7
square
#CCAD45 #45CC69 #4564CC #CC45A7
split-complementary
#CCAD45 #45A7CC #6945CC
monochromatic
#766220 #A68B2E #CCAD45 #D9C275 #E6D7A5
Accessibility & contrast
On white
2.18
#CCAD45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#CCAD45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAD45
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAD45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAD45 | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA38
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#DCA097
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ccad45; /* rgb */ color: rgb(204, 173, 69); /* oklch */ color: oklch(75.6% 0.126 92.4);
Tailwind
colors: {
custom: {
50: '#dfc57e',
500: '#ccad45',
950: '#000000',
},
}SCSS
$custom: #ccad45; $custom-light: #dfc57e; $custom-dark: #000000;
JSON
{
"hex": "#ccad45",
"rgb": {
"r": 204,
"g": 173,
"b": 69
},
"hsl": {
"h": 46.222,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.75568,
"c": 0.12643,
"h": 92.4
},
"luminance": 0.43154
}Semantic roles & 50–950 ramp
primary
#CCAD45
secondary
#99A7D3
accent
#6BE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C