#C2AF46#C2AF46
#C2AF46 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.0% C 0.126 H 99.0°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF46 |
|---|---|
| RGB | rgb(194, 175, 70) |
| HSL | hsl(51, 50%, 52%) |
| HSV | hsv(51, 64%, 76%) |
| CMYK | cmyk(0%, 9.8%, 63.9%, 23.9%) |
| CIE-LAB | lab(71.26, -5.60, 54.64) |
| CIE-LCH | lch(71.26, 54.92, 95.85°) |
| OKLab | oklab(75.04% -0.0197 0.1244) |
| OKLCH | oklch(75.04% 0.126 99) |
| XYZ | xyz(38.6852, 42.5732, 11.9729) |
| Luminance | 0.4257 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.57
Brownish Yellow
#C9B003
ΔE00 5.05
Mustard (survey)
#CEB301
ΔE00 5.60
Olive Yellow
#C2B709
ΔE00 5.69
Desert
#CCAD60
ΔE00 5.92
Darkkhaki
#BDB76B
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF46 #4659C2
analogous
#C27146 #C2AF46 #97C246
triadic
#C2AF46 #46C2AF #AF46C2
tetradic
#C2AF46 #46C271 #4659C2 #C24697
square
#C2AF46 #46C271 #4659C2 #C24697
split-complementary
#C2AF46 #4697C2 #7146C2
monochromatic
#6A6023 #998932 #C2AF46 #D1C374 #E0D7A2
Accessibility & contrast
On white
2.21
#C2AF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#C2AF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF46
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF46 | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAB3A
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#D0A399
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2af46; /* rgb */ color: rgb(194, 175, 70); /* oklch */ color: oklch(75.0% 0.126 99.0);
Tailwind
colors: {
custom: {
50: '#d8c67e',
500: '#c2af46',
950: '#000000',
},
}SCSS
$custom: #c2af46; $custom-light: #d8c67e; $custom-dark: #000000;
JSON
{
"hex": "#c2af46",
"rgb": {
"r": 194,
"g": 175,
"b": 70
},
"hsl": {
"h": 50.806,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.75038,
"c": 0.12592,
"h": 99
},
"luminance": 0.42571
}Semantic roles & 50–950 ramp
primary
#C2AF46
secondary
#979FCD
accent
#63DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C