#CCAF4F#CCAF4F
#CCAF4F is a light, moderate yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.120 H 92.5°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAF4F |
|---|---|
| RGB | rgb(204, 175, 79) |
| HSL | hsl(46, 55%, 55%) |
| HSV | hsv(46, 61%, 80%) |
| CMYK | cmyk(0%, 14.2%, 61.3%, 20%) |
| CIE-LAB | lab(72.27, -0.72, 51.95) |
| CIE-LCH | lch(72.27, 51.96, 90.79°) |
| OKLab | oklab(76.08% -0.0053 0.1197) |
| OKLCH | oklch(76.08% 0.12 92.5) |
| XYZ | xyz(41.6450, 44.0640, 13.7073) |
| Luminance | 0.4406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.23
Mustard
#DBB42C
ΔE00 5.04
Sandy Brown
#C4A661
ΔE00 5.08
Tan (survey)
#D1B26F
ΔE00 5.26
Burnt Yellow
#D5AB09
ΔE00 6.01
Brownish Yellow
#C9B003
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAF4F #4F6CCC
analogous
#CC704F #CCAF4F #AACC4F
triadic
#CCAF4F #4FCCAF #AF4FCC
tetradic
#CCAF4F #4FCC70 #4F6CCC #CC4FAA
square
#CCAF4F #4FCC70 #4F6CCC #CC4FAA
split-complementary
#CCAF4F #4FAACC #704FCC
monochromatic
#7D6824 #AC9032 #CCAF4F #DAC57E #E7DAAE
Accessibility & contrast
On white
2.14
#CCAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#CCAF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAF4F
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAF4F | 1.00 | 2.14 | 9.81 | 9.81 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC45
Deuteranopia (green-blind)
#C7B553
Tritanopia (blue-blind)
#DBA29A
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ccaf4f; /* rgb */ color: rgb(204, 175, 79); /* oklch */ color: oklch(76.1% 0.120 92.5);
Tailwind
colors: {
custom: {
50: '#dfc684',
500: '#ccaf4f',
950: '#000000',
},
}SCSS
$custom: #ccaf4f; $custom-light: #dfc684; $custom-dark: #000000;
JSON
{
"hex": "#ccaf4f",
"rgb": {
"r": 204,
"g": 175,
"b": 79
},
"hsl": {
"h": 46.08,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.76079,
"c": 0.11978,
"h": 92.5
},
"luminance": 0.44062
}Semantic roles & 50–950 ramp
primary
#CCAF4F
secondary
#A1ADD5
accent
#6CDE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C