#CCAF46#CCAF46
#CCAF46 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.127 H 93.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAF46 |
|---|---|
| RGB | rgb(204, 175, 70) |
| HSL | hsl(47, 57%, 54%) |
| HSV | hsv(47, 66%, 80%) |
| CMYK | cmyk(0%, 14.2%, 65.7%, 20%) |
| CIE-LAB | lab(72.19, -1.30, 55.90) |
| CIE-LCH | lch(72.19, 55.92, 91.33°) |
| OKLab | oklab(75.99% -0.008 0.1268) |
| OKLCH | oklch(75.99% 0.127 93.6) |
| XYZ | xyz(41.3393, 43.9417, 12.0973) |
| Luminance | 0.4394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.22
Desert
#CCAD60
ΔE00 4.39
Brownish Yellow
#C9B003
ΔE00 4.98
Burnt Yellow
#D5AB09
ΔE00 5.14
Mustard (survey)
#CEB301
ΔE00 5.18
Dark Yellow
#D5B60A
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAF46 #4663CC
analogous
#CC6C46 #CCAF46 #A6CC46
triadic
#CCAF46 #46CCAF #AF46CC
tetradic
#CCAF46 #46CC6C #4663CC #CC46A6
square
#CCAF46 #46CC6C #4663CC #CC46A6
split-complementary
#CCAF46 #46A6CC #6C46CC
monochromatic
#776421 #A78D2E #CCAF46 #D9C476 #E6D8A6
Accessibility & contrast
On white
2.15
#CCAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#CCAF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAF46
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAF46 | 1.00 | 2.15 | 9.79 | 9.79 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC39
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#DCA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ccaf46; /* rgb */ color: rgb(204, 175, 70); /* oklch */ color: oklch(76.0% 0.127 93.6);
Tailwind
colors: {
custom: {
50: '#dfc67e',
500: '#ccaf46',
950: '#000000',
},
}SCSS
$custom: #ccaf46; $custom-light: #dfc67e; $custom-dark: #000000;
JSON
{
"hex": "#ccaf46",
"rgb": {
"r": 204,
"g": 175,
"b": 70
},
"hsl": {
"h": 47.015,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.75988,
"c": 0.127,
"h": 93.6
},
"luminance": 0.4394
}Semantic roles & 50–950 ramp
primary
#CCAF46
secondary
#9AA7D4
accent
#69E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C