#C0AC2F#C0AC2F
#C0AC2F is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.0% C 0.139 H 99.8°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AC2F |
|---|---|
| RGB | rgb(192, 172, 47) |
| HSL | hsl(52, 61%, 47%) |
| HSV | hsv(52, 76%, 75%) |
| CMYK | cmyk(0%, 10.4%, 75.5%, 24.7%) |
| CIE-LAB | lab(70.12, -6.10, 62.54) |
| CIE-LCH | lch(70.12, 62.84, 95.57°) |
| OKLab | oklab(74.03% -0.0236 0.1372) |
| OKLCH | oklch(74.03% 0.139 99.8) |
| XYZ | xyz(37.0057, 40.9186, 8.6376) |
| Luminance | 0.4092 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.32
Brownish Yellow
#C9B003
ΔE00 3.23
Mustard (survey)
#CEB301
ΔE00 4.07
Olive Yellow
#C2B709
ΔE00 4.46
Dark Yellow
#D5B60A
ΔE00 5.14
Mustard Yellow
#D2BD0A
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AC2F #2F43C0
analogous
#C0642F #C0AC2F #8CC02F
triadic
#C0AC2F #2FC0AC #AC2FC0
tetradic
#C0AC2F #2FC064 #2F43C0 #C02F8C
square
#C0AC2F #2FC064 #2F43C0 #C02F8C
split-complementary
#C0AC2F #2F8CC0 #642FC0
monochromatic
#5E5417 #8F8023 #C0AC2F #D6C456 #E2D588
Accessibility & contrast
On white
2.29
#C0AC2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#C0AC2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AC2F
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AC2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AC2F | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA716
Deuteranopia (green-blind)
#C2AF38
Tritanopia (blue-blind)
#CF9F94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c0ac2f; /* rgb */ color: rgb(192, 172, 47); /* oklch */ color: oklch(74.0% 0.139 99.8);
Tailwind
colors: {
custom: {
50: '#d7c471',
500: '#c0ac2f',
950: '#000000',
},
}SCSS
$custom: #c0ac2f; $custom-light: #d7c471; $custom-dark: #000000;
JSON
{
"hex": "#c0ac2f",
"rgb": {
"r": 192,
"g": 172,
"b": 47
},
"hsl": {
"h": 51.724,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.74034,
"c": 0.13916,
"h": 99.8
},
"luminance": 0.40917
}Semantic roles & 50–950 ramp
primary
#C0AC2F
secondary
#7F8ACB
accent
#5AE444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B