#CCAD2D#CCAD2D
#CCAD2D is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.4% C 0.142 H 94.5°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAD2D |
|---|---|
| RGB | rgb(204, 173, 45) |
| HSL | hsl(48, 64%, 49%) |
| HSV | hsv(48, 78%, 80%) |
| CMYK | cmyk(0%, 15.2%, 77.9%, 20%) |
| CIE-LAB | lab(71.50, -1.45, 64.91) |
| CIE-LCH | lch(71.50, 64.92, 91.28°) |
| OKLab | oklab(75.39% -0.0112 0.1413) |
| OKLCH | oklch(75.39% 0.142 94.5) |
| XYZ | xyz(40.3213, 42.9163, 8.6420) |
| Luminance | 0.4291 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.00
Mustard
#DBB42C
ΔE00 3.13
Mustard (survey)
#CEB301
ΔE00 3.23
Burnt Yellow
#D5AB09
ΔE00 3.29
Dark Yellow
#D5B60A
ΔE00 3.52
Gold (survey)
#DBB40C
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAD2D #2D4CCC
analogous
#CC5E2D #CCAD2D #9CCC2D
triadic
#CCAD2D #2DCCAD #AD2DCC
tetradic
#CCAD2D #2DCC5E #2D4CCC #CC2D9C
square
#CCAD2D #2DCC5E #2D4CCC #CC2D9C
split-complementary
#CCAD2D #2D9CCC #5E2DCC
monochromatic
#685817 #9A8222 #CCAD2D #DBC25B #E6D58D
Accessibility & contrast
On white
2.19
#CCAD2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#CCAD2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAD2D
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAD2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAD2D | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA10
Deuteranopia (green-blind)
#C8B335
Tritanopia (blue-blind)
#DD9F95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccad2d; /* rgb */ color: rgb(204, 173, 45); /* oklch */ color: oklch(75.4% 0.142 94.5);
Tailwind
colors: {
custom: {
50: '#e0c571',
500: '#ccad2d',
950: '#000000',
},
}SCSS
$custom: #ccad2d; $custom-light: #e0c571; $custom-dark: #000000;
JSON
{
"hex": "#ccad2d",
"rgb": {
"r": 204,
"g": 173,
"b": 45
},
"hsl": {
"h": 48.302,
"s": 63.855,
"l": 48.824
},
"oklch": {
"l": 0.75387,
"c": 0.14172,
"h": 94.5
},
"luminance": 0.42914
}Semantic roles & 50–950 ramp
primary
#CCAD2D
secondary
#8593D0
accent
#61E741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161208
muted
#84817B