#CCAF3D#CCAF3D
#CCAF3D is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.133 H 94.5°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAF3D |
|---|---|
| RGB | rgb(204, 175, 61) |
| HSL | hsl(48, 58%, 52%) |
| HSV | hsv(48, 70%, 80%) |
| CMYK | cmyk(0%, 14.2%, 70.1%, 20%) |
| CIE-LAB | lab(72.12, -1.80, 59.60) |
| CIE-LCH | lch(72.12, 59.63, 91.73°) |
| OKLab | oklab(75.91% -0.0105 0.1331) |
| OKLCH | oklch(75.91% 0.133 94.5) |
| XYZ | xyz(41.0762, 43.8365, 10.7117) |
| Luminance | 0.4383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.65
Brownish Yellow
#C9B003
ΔE00 3.95
Mustard (survey)
#CEB301
ΔE00 4.15
Dark Yellow
#D5B60A
ΔE00 4.37
Burnt Yellow
#D5AB09
ΔE00 4.47
Gold (survey)
#DBB40C
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAF3D #3D5ACC
analogous
#CC683D #CCAF3D #A2CC3D
triadic
#CCAF3D #3DCCAF #AF3DCC
tetradic
#CCAF3D #3DCC68 #3D5ACC #CC3DA2
square
#CCAF3D #3DCC68 #3D5ACC #CC3DA2
split-complementary
#CCAF3D #3DA2CC #683DCC
monochromatic
#71601E #A1892A #CCAF3D #D9C36D #E5D79E
Accessibility & contrast
On white
2.15
#CCAF3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#CCAF3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAF3D
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAF3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAF3D | 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)
#C1AC2D
Deuteranopia (green-blind)
#C8B543
Tritanopia (blue-blind)
#DCA198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ccaf3d; /* rgb */ color: rgb(204, 175, 61); /* oklch */ color: oklch(75.9% 0.133 94.5);
Tailwind
colors: {
custom: {
50: '#dfc679',
500: '#ccaf3d',
950: '#000000',
},
}SCSS
$custom: #ccaf3d; $custom-light: #dfc679; $custom-dark: #000000;
JSON
{
"hex": "#ccaf3d",
"rgb": {
"r": 204,
"g": 175,
"b": 61
},
"hsl": {
"h": 47.832,
"s": 58.367,
"l": 51.961
},
"oklch": {
"l": 0.7591,
"c": 0.13349,
"h": 94.5
},
"luminance": 0.43834
}Semantic roles & 50–950 ramp
primary
#CCAF3D
secondary
#93A0D2
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B