#C0AA42#C0AA42
#C0AA42 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.8% C 0.125 H 97.2°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AA42 |
|---|---|
| RGB | rgb(192, 170, 66) |
| HSL | hsl(50, 50%, 51%) |
| HSV | hsv(50, 66%, 75%) |
| CMYK | cmyk(0%, 11.5%, 65.6%, 24.7%) |
| CIE-LAB | lab(69.72, -4.07, 54.68) |
| CIE-LCH | lch(69.72, 54.83, 94.26°) |
| OKLab | oklab(73.76% -0.0157 0.1239) |
| OKLCH | oklch(73.76% 0.125 97.2) |
| XYZ | xyz(37.0980, 40.3511, 10.9877) |
| Luminance | 0.4035 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.63
Brownish Yellow
#C9B003
ΔE00 5.18
Desert
#CCAD60
ΔE00 5.45
Mustard (survey)
#CEB301
ΔE00 5.84
Ocher
#BF9B0C
ΔE00 6.12
Brown Yellow
#B29705
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AA42 #4258C0
analogous
#C06B42 #C0AA42 #97C042
triadic
#C0AA42 #42C0AA #AA42C0
tetradic
#C0AA42 #42C06B #4258C0 #C04297
square
#C0AA42 #42C06B #4258C0 #C04297
split-complementary
#C0AA42 #4297C0 #6B42C0
monochromatic
#665A22 #948231 #C0AA42 #CFBF70 #DFD39E
Accessibility & contrast
On white
2.32
#C0AA42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#C0AA42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AA42
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AA42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AA42 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA635
Deuteranopia (green-blind)
#C0AD47
Tritanopia (blue-blind)
#CF9E94
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c0aa42; /* rgb */ color: rgb(192, 170, 66); /* oklch */ color: oklch(73.8% 0.125 97.2);
Tailwind
colors: {
custom: {
50: '#d6c37b',
500: '#c0aa42',
950: '#000000',
},
}SCSS
$custom: #c0aa42; $custom-light: #d6c37b; $custom-dark: #000000;
JSON
{
"hex": "#c0aa42",
"rgb": {
"r": 192,
"g": 170,
"b": 66
},
"hsl": {
"h": 49.524,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.7376,
"c": 0.12488,
"h": 97.2
},
"luminance": 0.40349
}Semantic roles & 50–950 ramp
primary
#C0AA42
secondary
#939DCB
accent
#67DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C