#C2AF47#C2AF47
#C2AF47 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.0% C 0.125 H 98.9°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF47 |
|---|---|
| RGB | rgb(194, 175, 71) |
| HSL | hsl(51, 50%, 52%) |
| HSV | hsv(51, 63%, 76%) |
| CMYK | cmyk(0%, 9.8%, 63.4%, 23.9%) |
| CIE-LAB | lab(71.27, -5.53, 54.21) |
| CIE-LCH | lch(71.27, 54.49, 95.83°) |
| OKLab | oklab(75.05% -0.0194 0.1236) |
| OKLCH | oklch(75.05% 0.125 98.9) |
| XYZ | xyz(38.7171, 42.5859, 12.1405) |
| Luminance | 0.4258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.70
Brownish Yellow
#C9B003
ΔE00 5.17
Mustard (survey)
#CEB301
ΔE00 5.71
Olive Yellow
#C2B709
ΔE00 5.80
Desert
#CCAD60
ΔE00 5.82
Darkkhaki
#BDB76B
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF47 #475AC2
analogous
#C27247 #C2AF47 #97C247
triadic
#C2AF47 #47C2AF #AF47C2
tetradic
#C2AF47 #47C272 #475AC2 #C24797
square
#C2AF47 #47C272 #475AC2 #C24797
split-complementary
#C2AF47 #4797C2 #7247C2
monochromatic
#6B6024 #998933 #C2AF47 #D1C375 #E0D7A3
Accessibility & contrast
On white
2.21
#C2AF47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#C2AF47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF47
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF47 | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAB3B
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#D0A399
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2af47; /* rgb */ color: rgb(194, 175, 71); /* oklch */ color: oklch(75.0% 0.125 98.9);
Tailwind
colors: {
custom: {
50: '#d7c67f',
500: '#c2af47',
950: '#000000',
},
}SCSS
$custom: #c2af47; $custom-light: #d7c67f; $custom-dark: #000000;
JSON
{
"hex": "#c2af47",
"rgb": {
"r": 194,
"g": 175,
"b": 71
},
"hsl": {
"h": 50.732,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.75048,
"c": 0.12512,
"h": 98.9
},
"luminance": 0.42584
}Semantic roles & 50–950 ramp
primary
#C2AF47
secondary
#97A0CD
accent
#64DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C