#C0A640#C0A640
#C0A640 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.9% C 0.123 H 94.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C0A640 |
|---|---|
| RGB | rgb(192, 166, 64) |
| HSL | hsl(48, 50%, 50%) |
| HSV | hsv(48, 67%, 75%) |
| CMYK | cmyk(0%, 13.5%, 66.7%, 24.7%) |
| CIE-LAB | lab(68.64, -2.07, 54.41) |
| CIE-LCH | lch(68.64, 54.45, 92.18°) |
| OKLab | oklab(72.9% -0.0102 0.123) |
| OKLCH | oklch(72.9% 0.123 94.8) |
| XYZ | xyz(36.3016, 38.8510, 10.4364) |
| Luminance | 0.3885 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.95
Desert
#CCAD60
ΔE00 4.99
Muddy Yellow
#BFAC05
ΔE00 5.36
Brown Yellow
#B29705
ΔE00 5.56
Sandy Brown
#C4A661
ΔE00 5.64
Brownish Yellow
#C9B003
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0A640 #405AC0
analogous
#C06640 #C0A640 #9AC040
triadic
#C0A640 #40C0A6 #A640C0
tetradic
#C0A640 #40C066 #405AC0 #C0409A
square
#C0A640 #40C066 #405AC0 #C0409A
split-complementary
#C0A640 #409AC0 #6640C0
monochromatic
#645721 #927F30 #C0A640 #CFBB6E #DED19C
Accessibility & contrast
On white
2.39
#C0A640 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#C0A640 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0A640
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0A640 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0A640 | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#BDAB45
Tritanopia (blue-blind)
#CF9A91
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c0a640; /* rgb */ color: rgb(192, 166, 64); /* oklch */ color: oklch(72.9% 0.123 94.8);
Tailwind
colors: {
custom: {
50: '#d6c07a',
500: '#c0a640',
950: '#000000',
},
}SCSS
$custom: #c0a640; $custom-light: #d6c07a; $custom-dark: #000000;
JSON
{
"hex": "#c0a640",
"rgb": {
"r": 192,
"g": 166,
"b": 64
},
"hsl": {
"h": 47.813,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.72903,
"c": 0.12341,
"h": 94.8
},
"luminance": 0.38849
}Semantic roles & 50–950 ramp
primary
#C0A640
secondary
#919DCB
accent
#6ADA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B