#C2AF36#C2AF36
#C2AF36 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.137 H 100.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF36 |
|---|---|
| RGB | rgb(194, 175, 54) |
| HSL | hsl(52, 56%, 49%) |
| HSV | hsv(52, 72%, 76%) |
| CMYK | cmyk(0%, 9.8%, 72.2%, 23.9%) |
| CIE-LAB | lab(71.14, -6.49, 61.05) |
| CIE-LCH | lch(71.14, 61.40, 96.06°) |
| OKLab | oklab(74.9% -0.0241 0.1352) |
| OKLCH | oklch(74.9% 0.137 100.1) |
| XYZ | xyz(38.2457, 42.3974, 9.6583) |
| Luminance | 0.4240 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.84
Brownish Yellow
#C9B003
ΔE00 3.46
Mustard (survey)
#CEB301
ΔE00 4.13
Olive Yellow
#C2B709
ΔE00 4.19
Dark Yellow
#D5B60A
ΔE00 5.09
Mustard Yellow
#D2BD0A
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF36 #3649C2
analogous
#C26936 #C2AF36 #8FC236
triadic
#C2AF36 #36C2AF #AF36C2
tetradic
#C2AF36 #36C269 #3649C2 #C2368F
square
#C2AF36 #36C269 #3649C2 #C2368F
split-complementary
#C2AF36 #368FC2 #6936C2
monochromatic
#62591B #928429 #C2AF36 #D3C462 #E1D692
Accessibility & contrast
On white
2.22
#C2AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#C2AF36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF36
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF36 | 1.00 | 2.22 | 9.48 | 9.48 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA22
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#D1A297
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2af36; /* rgb */ color: rgb(194, 175, 54); /* oklch */ color: oklch(74.9% 0.137 100.1);
Tailwind
colors: {
custom: {
50: '#d8c675',
500: '#c2af36',
950: '#000000',
},
}SCSS
$custom: #c2af36; $custom-light: #d8c675; $custom-dark: #000000;
JSON
{
"hex": "#c2af36",
"rgb": {
"r": 194,
"g": 175,
"b": 54
},
"hsl": {
"h": 51.857,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.74904,
"c": 0.13736,
"h": 100.1
},
"luminance": 0.42396
}Semantic roles & 50–950 ramp
primary
#C2AF36
secondary
#8891CC
accent
#5DE048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B