#CCAF3F#CCAF3F
#CCAF3F is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.132 H 94.3°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAF3F |
|---|---|
| RGB | rgb(204, 175, 63) |
| HSL | hsl(48, 58%, 52%) |
| HSV | hsv(48, 69%, 80%) |
| CMYK | cmyk(0%, 14.2%, 69.1%, 20%) |
| CIE-LAB | lab(72.13, -1.69, 58.80) |
| CIE-LCH | lch(72.13, 58.83, 91.65°) |
| OKLab | oklab(75.93% -0.01 0.1317) |
| OKLCH | oklch(75.93% 0.132 94.3) |
| XYZ | xyz(41.1311, 43.8584, 11.0007) |
| Luminance | 0.4386 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.75
Brownish Yellow
#C9B003
ΔE00 4.16
Mustard (survey)
#CEB301
ΔE00 4.37
Dark Yellow
#D5B60A
ΔE00 4.56
Burnt Yellow
#D5AB09
ΔE00 4.60
Gold (survey)
#DBB40C
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAF3F #3F5CCC
analogous
#CC693F #CCAF3F #A2CC3F
triadic
#CCAF3F #3FCCAF #AF3FCC
tetradic
#CCAF3F #3FCC69 #3F5CCC #CC3FA2
square
#CCAF3F #3FCC69 #3F5CCC #CC3FA2
split-complementary
#CCAF3F #3FA2CC #693FCC
monochromatic
#72611E #A38A2B #CCAF3F #D9C36F #E6D7A0
Accessibility & contrast
On white
2.15
#CCAF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#CCAF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAF3F
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAF3F | 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)
#C1AC30
Deuteranopia (green-blind)
#C8B545
Tritanopia (blue-blind)
#DCA298
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ccaf3f; /* rgb */ color: rgb(204, 175, 63); /* oklch */ color: oklch(75.9% 0.132 94.3);
Tailwind
colors: {
custom: {
50: '#dfc67a',
500: '#ccaf3f',
950: '#000000',
},
}SCSS
$custom: #ccaf3f; $custom-light: #dfc67a; $custom-dark: #000000;
JSON
{
"hex": "#ccaf3f",
"rgb": {
"r": 204,
"g": 175,
"b": 63
},
"hsl": {
"h": 47.66,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.75926,
"c": 0.13212,
"h": 94.3
},
"luminance": 0.43856
}Semantic roles & 50–950 ramp
primary
#CCAF3F
secondary
#95A1D2
accent
#66E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C