#CCAF3E#CCAF3E
#CCAF3E is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.133 H 94.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAF3E |
|---|---|
| RGB | rgb(204, 175, 62) |
| HSL | hsl(48, 58%, 52%) |
| HSV | hsv(48, 70%, 80%) |
| CMYK | cmyk(0%, 14.2%, 69.6%, 20%) |
| CIE-LAB | lab(72.13, -1.75, 59.21) |
| CIE-LCH | lch(72.13, 59.23, 91.69°) |
| OKLab | oklab(75.92% -0.0103 0.1324) |
| OKLCH | oklch(75.92% 0.133 94.4) |
| XYZ | xyz(41.1034, 43.8473, 10.8549) |
| Luminance | 0.4385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.70
Brownish Yellow
#C9B003
ΔE00 4.05
Mustard (survey)
#CEB301
ΔE00 4.26
Dark Yellow
#D5B60A
ΔE00 4.46
Burnt Yellow
#D5AB09
ΔE00 4.53
Gold (survey)
#DBB40C
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAF3E #3E5BCC
analogous
#CC683E #CCAF3E #A2CC3E
triadic
#CCAF3E #3ECCAF #AF3ECC
tetradic
#CCAF3E #3ECC68 #3E5BCC #CC3EA2
square
#CCAF3E #3ECC68 #3E5BCC #CC3EA2
split-complementary
#CCAF3E #3EA2CC #683ECC
monochromatic
#72611E #A28A2B #CCAF3E #D9C36E #E6D79F
Accessibility & contrast
On white
2.15
#CCAF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#CCAF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAF3E
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAF3E | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC2E
Deuteranopia (green-blind)
#C8B544
Tritanopia (blue-blind)
#DCA198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ccaf3e; /* rgb */ color: rgb(204, 175, 62); /* oklch */ color: oklch(75.9% 0.133 94.4);
Tailwind
colors: {
custom: {
50: '#dfc67a',
500: '#ccaf3e',
950: '#000000',
},
}SCSS
$custom: #ccaf3e; $custom-light: #dfc67a; $custom-dark: #000000;
JSON
{
"hex": "#ccaf3e",
"rgb": {
"r": 204,
"g": 175,
"b": 62
},
"hsl": {
"h": 47.746,
"s": 58.197,
"l": 52.157
},
"oklch": {
"l": 0.75918,
"c": 0.13281,
"h": 94.4
},
"luminance": 0.43845
}Semantic roles & 50–950 ramp
primary
#CCAF3E
secondary
#94A1D2
accent
#66E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C