#CCAF4B#CCAF4B
#CCAF4B is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.123 H 93.0°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAF4B |
|---|---|
| RGB | rgb(204, 175, 75) |
| HSL | hsl(47, 56%, 55%) |
| HSV | hsv(47, 63%, 80%) |
| CMYK | cmyk(0%, 14.2%, 63.2%, 20%) |
| CIE-LAB | lab(72.23, -0.98, 53.74) |
| CIE-LCH | lch(72.23, 53.75, 91.05°) |
| OKLab | oklab(76.04% -0.0065 0.1229) |
| OKLCH | oklch(76.04% 0.123 93) |
| XYZ | xyz(41.5038, 44.0075, 12.9634) |
| Luminance | 0.4400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.76
Mustard
#DBB42C
ΔE00 4.65
Sandy Brown
#C4A661
ΔE00 5.57
Burnt Yellow
#D5AB09
ΔE00 5.60
Brownish Yellow
#C9B003
ΔE00 5.62
Tan (survey)
#D1B26F
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAF4B #4B68CC
analogous
#CC6F4B #CCAF4B #A8CC4B
triadic
#CCAF4B #4BCCAF #AF4BCC
tetradic
#CCAF4B #4BCC6F #4B68CC #CC4BA8
square
#CCAF4B #4BCC6F #4B68CC #CC4BA8
split-complementary
#CCAF4B #4BA8CC #6F4BCC
monochromatic
#7A6623 #AA8E30 #CCAF4B #DAC47B #E7D9AA
Accessibility & contrast
On white
2.14
#CCAF4B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#CCAF4B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAF4B
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAF4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAF4B | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC40
Deuteranopia (green-blind)
#C8B550
Tritanopia (blue-blind)
#DCA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ccaf4b; /* rgb */ color: rgb(204, 175, 75); /* oklch */ color: oklch(76.0% 0.123 93.0);
Tailwind
colors: {
custom: {
50: '#dfc681',
500: '#ccaf4b',
950: '#000000',
},
}SCSS
$custom: #ccaf4b; $custom-light: #dfc681; $custom-dark: #000000;
JSON
{
"hex": "#ccaf4b",
"rgb": {
"r": 204,
"g": 175,
"b": 75
},
"hsl": {
"h": 46.512,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.76037,
"c": 0.12307,
"h": 93
},
"luminance": 0.44005
}Semantic roles & 50–950 ramp
primary
#CCAF4B
secondary
#9EAAD5
accent
#6ADF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C