#CCAF3A#CCAF3A
#CCAF3A is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.135 H 94.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAF3A |
|---|---|
| RGB | rgb(204, 175, 58) |
| HSL | hsl(48, 59%, 51%) |
| HSV | hsv(48, 72%, 80%) |
| CMYK | cmyk(0%, 14.2%, 71.6%, 20%) |
| CIE-LAB | lab(72.10, -1.95, 60.77) |
| CIE-LCH | lch(72.10, 60.80, 91.84°) |
| OKLab | oklab(75.89% -0.0113 0.135) |
| OKLCH | oklch(75.89% 0.135 94.8) |
| XYZ | xyz(40.9976, 43.8050, 10.2980) |
| Luminance | 0.4380 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.52
Brownish Yellow
#C9B003
ΔE00 3.63
Mustard (survey)
#CEB301
ΔE00 3.84
Dark Yellow
#D5B60A
ΔE00 4.09
Burnt Yellow
#D5AB09
ΔE00 4.29
Muddy Yellow
#BFAC05
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAF3A #3A57CC
analogous
#CC663A #CCAF3A #A0CC3A
triadic
#CCAF3A #3ACCAF #AF3ACC
tetradic
#CCAF3A #3ACC66 #3A57CC #CC3AA0
square
#CCAF3A #3ACC66 #3A57CC #CC3AA0
split-complementary
#CCAF3A #3AA0CC #663ACC
monochromatic
#6F5F1D #A08829 #CCAF3A #D9C36B #E5D69B
Accessibility & contrast
On white
2.15
#CCAF3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#CCAF3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAF3A
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAF3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAF3A | 1.00 | 2.15 | 9.76 | 9.76 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC28
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#DCA198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ccaf3a; /* rgb */ color: rgb(204, 175, 58); /* oklch */ color: oklch(75.9% 0.135 94.8);
Tailwind
colors: {
custom: {
50: '#dfc677',
500: '#ccaf3a',
950: '#000000',
},
}SCSS
$custom: #ccaf3a; $custom-light: #dfc677; $custom-dark: #000000;
JSON
{
"hex": "#ccaf3a",
"rgb": {
"r": 204,
"g": 175,
"b": 58
},
"hsl": {
"h": 48.082,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.75887,
"c": 0.13547,
"h": 94.8
},
"luminance": 0.43803
}Semantic roles & 50–950 ramp
primary
#CCAF3A
secondary
#919ED1
accent
#65E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B