#CAAF56#CAAF56
#CAAF56 is a light, moderate yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.113 H 92.7°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CAAF56 |
|---|---|
| RGB | rgb(202, 175, 86) |
| HSL | hsl(46, 52%, 56%) |
| HSV | hsv(46, 57%, 79%) |
| CMYK | cmyk(0%, 13.4%, 57.4%, 20.8%) |
| CIE-LAB | lab(72.16, -1.06, 48.48) |
| CIE-LCH | lch(72.16, 48.49, 91.25°) |
| OKLab | oklab(75.97% -0.0053 0.1131) |
| OKLCH | oklch(75.97% 0.113 92.7) |
| XYZ | xyz(41.3685, 43.8904, 15.0950) |
| Luminance | 0.4389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.56
Sandy Brown
#C4A661
ΔE00 4.36
Tan (survey)
#D1B26F
ΔE00 4.54
Sandstone
#C9AE74
ΔE00 5.77
Sand Brown
#CBA560
ΔE00 5.85
Mustard
#DBB42C
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAAF56 #5671CA
analogous
#CA7556 #CAAF56 #ABCA56
triadic
#CAAF56 #56CAAF #AF56CA
tetradic
#CAAF56 #56CA75 #5671CA #CA56AB
square
#CAAF56 #56CA75 #5671CA #CA56AB
split-complementary
#CAAF56 #56ABCA #7556CA
monochromatic
#7E6A28 #AD9136 #CAAF56 #D9C585 #E7DBB3
Accessibility & contrast
On white
2.15
#CAAF56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#CAAF56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAAF56
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAAF56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAAF56 | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAC4D
Deuteranopia (green-blind)
#C6B45A
Tritanopia (blue-blind)
#D9A39B
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #caaf56; /* rgb */ color: rgb(202, 175, 86); /* oklch */ color: oklch(76.0% 0.113 92.7);
Tailwind
colors: {
custom: {
50: '#ddc688',
500: '#caaf56',
950: '#000000',
},
}SCSS
$custom: #caaf56; $custom-light: #ddc688; $custom-dark: #000000;
JSON
{
"hex": "#caaf56",
"rgb": {
"r": 202,
"g": 175,
"b": 86
},
"hsl": {
"h": 46.034,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.75966,
"c": 0.11322,
"h": 92.7
},
"luminance": 0.43888
}Semantic roles & 50–950 ramp
primary
#CAAF56
secondary
#A6B1D6
accent
#6EDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D