#C2AC2E#C2AC2E
#C2AC2E is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.2% C 0.140 H 98.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AC2E |
|---|---|
| RGB | rgb(194, 172, 46) |
| HSL | hsl(51, 62%, 47%) |
| HSV | hsv(51, 76%, 76%) |
| CMYK | cmyk(0%, 11.3%, 76.3%, 23.9%) |
| CIE-LAB | lab(70.30, -5.27, 63.12) |
| CIE-LCH | lch(70.30, 63.34, 94.77°) |
| OKLab | oklab(74.22% -0.0214 0.1381) |
| OKLCH | oklch(74.22% 0.14 98.8) |
| XYZ | xyz(37.4957, 41.1735, 8.5565) |
| Luminance | 0.4117 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.36
Brownish Yellow
#C9B003
ΔE00 2.91
Mustard (survey)
#CEB301
ΔE00 3.72
Olive Yellow
#C2B709
ΔE00 4.67
Dark Yellow
#D5B60A
ΔE00 4.73
Mustard Yellow
#D2BD0A
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AC2E #2E44C2
analogous
#C2622E #C2AC2E #8EC22E
triadic
#C2AC2E #2EC2AC #AC2EC2
tetradic
#C2AC2E #2EC262 #2E44C2 #C22E8E
square
#C2AC2E #2EC262 #2E44C2 #C22E8E
split-complementary
#C2AC2E #2E8EC2 #622EC2
monochromatic
#5F5417 #918022 #C2AC2E #D7C456 #E3D588
Accessibility & contrast
On white
2.27
#C2AC2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.23
#C2AC2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AC2E
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AC2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AC2E | 1.00 | 2.27 | 9.23 | 9.23 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA714
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#D19F94
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c2ac2e; /* rgb */ color: rgb(194, 172, 46); /* oklch */ color: oklch(74.2% 0.140 98.8);
Tailwind
colors: {
custom: {
50: '#d9c471',
500: '#c2ac2e',
950: '#000000',
},
}SCSS
$custom: #c2ac2e; $custom-light: #d9c471; $custom-dark: #000000;
JSON
{
"hex": "#c2ac2e",
"rgb": {
"r": 194,
"g": 172,
"b": 46
},
"hsl": {
"h": 51.081,
"s": 61.667,
"l": 47.059
},
"oklch": {
"l": 0.74218,
"c": 0.13975,
"h": 98.8
},
"luminance": 0.41172
}Semantic roles & 50–950 ramp
primary
#C2AC2E
secondary
#7F8BCC
accent
#5BE543
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B