#C0A12E#C0A12E
#C0A12E is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.7% C 0.132 H 93.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C0A12E |
|---|---|
| RGB | rgb(192, 161, 46) |
| HSL | hsl(47, 61%, 47%) |
| HSV | hsv(47, 76%, 75%) |
| CMYK | cmyk(0%, 16.1%, 76%, 24.7%) |
| CIE-LAB | lab(67.20, -0.31, 60.16) |
| CIE-LCH | lch(67.20, 60.16, 90.29°) |
| OKLab | oklab(71.72% -0.0072 0.1319) |
| OKLCH | oklch(71.72% 0.132 93.1) |
| XYZ | xyz(34.9782, 36.8955, 7.8634) |
| Luminance | 0.3689 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.65
Ocre
#C69C04
ΔE00 3.61
Brown Yellow
#B29705
ΔE00 3.94
Dark Gold
#B59410
ΔE00 4.05
Yellow Brown
#B79400
ΔE00 4.24
Yellow Ochre
#CB9D06
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0A12E #2E4DC0
analogous
#C0582E #C0A12E #96C02E
triadic
#C0A12E #2EC0A1 #A12EC0
tetradic
#C0A12E #2EC058 #2E4DC0 #C02E96
square
#C0A12E #2EC058 #2E4DC0 #C02E96
split-complementary
#C0A12E #2E96C0 #582EC0
monochromatic
#5D4E16 #8F7822 #C0A12E #D6BB55 #E2CF86
Accessibility & contrast
On white
2.51
#C0A12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#C0A12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0A12E
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0A12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0A12E | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E19
Deuteranopia (green-blind)
#BBA735
Tritanopia (blue-blind)
#D0948B
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c0a12e; /* rgb */ color: rgb(192, 161, 46); /* oklch */ color: oklch(71.7% 0.132 93.1);
Tailwind
colors: {
custom: {
50: '#d7bc6f',
500: '#c0a12e',
950: '#000000',
},
}SCSS
$custom: #c0a12e; $custom-light: #d7bc6f; $custom-dark: #000000;
JSON
{
"hex": "#c0a12e",
"rgb": {
"r": 192,
"g": 161,
"b": 46
},
"hsl": {
"h": 47.26,
"s": 61.345,
"l": 46.667
},
"oklch": {
"l": 0.71721,
"c": 0.13207,
"h": 93.1
},
"luminance": 0.36893
}Semantic roles & 50–950 ramp
primary
#C0A12E
secondary
#7E8FCC
accent
#66E443
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B