#C2AF56#C2AF56
#C2AF56 is a light, moderate yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.112 H 97.5°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF56 |
|---|---|
| RGB | rgb(194, 175, 86) |
| HSL | hsl(49, 47%, 55%) |
| HSV | hsv(49, 56%, 76%) |
| CMYK | cmyk(0%, 9.8%, 55.7%, 23.9%) |
| CIE-LAB | lab(71.42, -4.45, 47.44) |
| CIE-LCH | lch(71.42, 47.65, 95.36°) |
| OKLab | oklab(75.21% -0.0146 0.111) |
| OKLCH | oklch(75.21% 0.112 97.5) |
| XYZ | xyz(39.2593, 42.8028, 14.9961) |
| Luminance | 0.4280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.44
Darkkhaki
#BDB76B
ΔE00 4.77
Sandy Brown
#C4A661
ΔE00 5.53
Tan (survey)
#D1B26F
ΔE00 6.06
Khaki (survey)
#AAA662
ΔE00 6.58
Sandstone
#C9AE74
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF56 #5669C2
analogous
#C27956 #C2AF56 #9FC256
triadic
#C2AF56 #56C2AF #AF56C2
tetradic
#C2AF56 #56C279 #5669C2 #C2569F
square
#C2AF56 #56C279 #5669C2 #C2569F
split-complementary
#C2AF56 #569FC2 #7956C2
monochromatic
#74672A #A18F3A #C2AF56 #D2C483 #E2DAB0
Accessibility & contrast
On white
2.20
#C2AF56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#C2AF56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF56
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF56 | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAB4D
Deuteranopia (green-blind)
#C3B25A
Tritanopia (blue-blind)
#D0A49B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c2af56; /* rgb */ color: rgb(194, 175, 86); /* oklch */ color: oklch(75.2% 0.112 97.5);
Tailwind
colors: {
custom: {
50: '#d7c688',
500: '#c2af56',
950: '#000000',
},
}SCSS
$custom: #c2af56; $custom-light: #d7c688; $custom-dark: #000000;
JSON
{
"hex": "#c2af56",
"rgb": {
"r": 194,
"g": 175,
"b": 86
},
"hsl": {
"h": 49.444,
"s": 46.957,
"l": 54.902
},
"oklch": {
"l": 0.75213,
"c": 0.11197,
"h": 97.5
},
"luminance": 0.42801
}Semantic roles & 50–950 ramp
primary
#C2AF56
secondary
#A3ABD1
accent
#69D751
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D