#C0A22E#C0A22E
#C0A22E is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.133 H 93.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C0A22E |
|---|---|
| RGB | rgb(192, 162, 46) |
| HSL | hsl(48, 61%, 47%) |
| HSV | hsv(48, 76%, 75%) |
| CMYK | cmyk(0%, 15.6%, 76%, 24.7%) |
| CIE-LAB | lab(67.46, -0.84, 60.41) |
| CIE-LCH | lch(67.46, 60.41, 90.80°) |
| OKLab | oklab(71.93% -0.0088 0.1324) |
| OKLCH | oklch(71.93% 0.133 93.8) |
| XYZ | xyz(35.1536, 37.2464, 7.9219) |
| Luminance | 0.3724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.89
Ocre
#C69C04
ΔE00 3.87
Brown Yellow
#B29705
ΔE00 4.01
Dark Gold
#B59410
ΔE00 4.31
Yellow Brown
#B79400
ΔE00 4.50
Yellow Ochre
#CB9D06
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0A22E #2E4CC0
analogous
#C0592E #C0A22E #95C02E
triadic
#C0A22E #2EC0A2 #A22EC0
tetradic
#C0A22E #2EC059 #2E4CC0 #C02E95
square
#C0A22E #2EC059 #2E4CC0 #C02E95
split-complementary
#C0A22E #2E95C0 #592EC0
monochromatic
#5D4F16 #8F7822 #C0A22E #D6BC55 #E2CF86
Accessibility & contrast
On white
2.49
#C0A22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#C0A22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0A22E
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0A22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0A22E | 1.00 | 2.49 | 8.45 | 8.45 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F18
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#D0958C
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c0a22e; /* rgb */ color: rgb(192, 162, 46); /* oklch */ color: oklch(71.9% 0.133 93.8);
Tailwind
colors: {
custom: {
50: '#d7bd70',
500: '#c0a22e',
950: '#000000',
},
}SCSS
$custom: #c0a22e; $custom-light: #d7bd70; $custom-dark: #000000;
JSON
{
"hex": "#c0a22e",
"rgb": {
"r": 192,
"g": 162,
"b": 46
},
"hsl": {
"h": 47.671,
"s": 61.345,
"l": 46.667
},
"oklch": {
"l": 0.71929,
"c": 0.13269,
"h": 93.8
},
"luminance": 0.37244
}Semantic roles & 50–950 ramp
primary
#C0A22E
secondary
#7E8ECC
accent
#64E443
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B