#C0A940#C0A940
#C0A940 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.5% C 0.126 H 96.8°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C0A940 |
|---|---|
| RGB | rgb(192, 169, 64) |
| HSL | hsl(49, 50%, 50%) |
| HSV | hsv(49, 67%, 75%) |
| CMYK | cmyk(0%, 12%, 66.7%, 24.7%) |
| CIE-LAB | lab(69.44, -3.66, 55.24) |
| CIE-LCH | lch(69.44, 55.36, 93.79°) |
| OKLab | oklab(73.53% -0.0148 0.1248) |
| OKLCH | oklch(73.53% 0.126 96.8) |
| XYZ | xyz(36.8533, 39.9544, 10.6203) |
| Luminance | 0.3995 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.59
Brownish Yellow
#C9B003
ΔE00 5.12
Desert
#CCAD60
ΔE00 5.46
Ocher
#BF9B0C
ΔE00 5.72
Mustard (survey)
#CEB301
ΔE00 5.79
Brown Yellow
#B29705
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0A940 #4057C0
analogous
#C06940 #C0A940 #97C040
triadic
#C0A940 #40C0A9 #A940C0
tetradic
#C0A940 #40C069 #4057C0 #C04097
square
#C0A940 #40C069 #4057C0 #C04097
split-complementary
#C0A940 #4097C0 #6940C0
monochromatic
#645821 #928130 #C0A940 #CFBE6E #DED29C
Accessibility & contrast
On white
2.34
#C0A940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#C0A940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0A940
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0A940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0A940 | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#BFAD46
Tritanopia (blue-blind)
#CF9D93
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c0a940; /* rgb */ color: rgb(192, 169, 64); /* oklch */ color: oklch(73.5% 0.126 96.8);
Tailwind
colors: {
custom: {
50: '#d6c27a',
500: '#c0a940',
950: '#000000',
},
}SCSS
$custom: #c0a940; $custom-light: #d6c27a; $custom-dark: #000000;
JSON
{
"hex": "#c0a940",
"rgb": {
"r": 192,
"g": 169,
"b": 64
},
"hsl": {
"h": 49.219,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.73531,
"c": 0.12563,
"h": 96.8
},
"luminance": 0.39953
}Semantic roles & 50–950 ramp
primary
#C0A940
secondary
#919CCB
accent
#67DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B