#CCAF3B#CCAF3B
#CCAF3B is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.135 H 94.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAF3B |
|---|---|
| RGB | rgb(204, 175, 59) |
| HSL | hsl(48, 59%, 52%) |
| HSV | hsv(48, 71%, 80%) |
| CMYK | cmyk(0%, 14.2%, 71.1%, 20%) |
| CIE-LAB | lab(72.10, -1.90, 60.38) |
| CIE-LCH | lch(72.10, 60.41, 91.80°) |
| OKLab | oklab(75.89% -0.0111 0.1344) |
| OKLCH | oklch(75.89% 0.135 94.7) |
| XYZ | xyz(41.0233, 43.8153, 10.4332) |
| Luminance | 0.4381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.56
Brownish Yellow
#C9B003
ΔE00 3.74
Mustard (survey)
#CEB301
ΔE00 3.94
Dark Yellow
#D5B60A
ΔE00 4.18
Burnt Yellow
#D5AB09
ΔE00 4.35
Muddy Yellow
#BFAC05
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAF3B #3B58CC
analogous
#CC673B #CCAF3B #A1CC3B
triadic
#CCAF3B #3BCCAF #AF3BCC
tetradic
#CCAF3B #3BCC67 #3B58CC #CC3BA1
square
#CCAF3B #3BCC67 #3B58CC #CC3BA1
split-complementary
#CCAF3B #3BA1CC #673BCC
monochromatic
#705F1D #A0882A #CCAF3B #D9C36C #E5D79C
Accessibility & contrast
On white
2.15
#CCAF3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#CCAF3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAF3B
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAF3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAF3B | 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)
#C1AC2A
Deuteranopia (green-blind)
#C8B541
Tritanopia (blue-blind)
#DCA198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ccaf3b; /* rgb */ color: rgb(204, 175, 59); /* oklch */ color: oklch(75.9% 0.135 94.7);
Tailwind
colors: {
custom: {
50: '#dfc678',
500: '#ccaf3b',
950: '#000000',
},
}SCSS
$custom: #ccaf3b; $custom-light: #dfc678; $custom-dark: #000000;
JSON
{
"hex": "#ccaf3b",
"rgb": {
"r": 204,
"g": 175,
"b": 59
},
"hsl": {
"h": 48,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.75894,
"c": 0.13482,
"h": 94.7
},
"luminance": 0.43813
}Semantic roles & 50–950 ramp
primary
#CCAF3B
secondary
#929ED1
accent
#65E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B