#C0A62A#C0A62A
#C0A62A is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.7% C 0.137 H 96.5°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C0A62A |
|---|---|
| RGB | rgb(192, 166, 42) |
| HSL | hsl(50, 64%, 46%) |
| HSV | hsv(50, 78%, 75%) |
| CMYK | cmyk(0%, 13.5%, 78.1%, 24.7%) |
| CIE-LAB | lab(68.50, -3.13, 62.74) |
| CIE-LCH | lch(68.50, 62.82, 92.86°) |
| OKLab | oklab(72.74% -0.0157 0.1366) |
| OKLCH | oklch(72.74% 0.137 96.5) |
| XYZ | xyz(35.7943, 38.6480, 7.7645) |
| Luminance | 0.3865 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.38
Brownish Yellow
#C9B003
ΔE00 3.88
Ocher
#BF9B0C
ΔE00 4.04
Brown Yellow
#B29705
ΔE00 4.59
Mustard (survey)
#CEB301
ΔE00 4.69
Ocre
#C69C04
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0A62A #2A44C0
analogous
#C05B2A #C0A62A #8FC02A
triadic
#C0A62A #2AC0A6 #A62AC0
tetradic
#C0A62A #2AC05B #2A44C0 #C02A8F
square
#C0A62A #2AC05B #2A44C0 #C02A8F
split-complementary
#C0A62A #2A8FC0 #5B2AC0
monochromatic
#5C4F14 #8E7B1F #C0A62A #D8C14F #E3D281
Accessibility & contrast
On white
2.41
#C0A62A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#C0A62A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0A62A
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0A62A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0A62A | 1.00 | 2.41 | 8.73 | 8.73 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A20D
Deuteranopia (green-blind)
#BEAB33
Tritanopia (blue-blind)
#D0998F
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c0a62a; /* rgb */ color: rgb(192, 166, 42); /* oklch */ color: oklch(72.7% 0.137 96.5);
Tailwind
colors: {
custom: {
50: '#d7c06e',
500: '#c0a62a',
950: '#000000',
},
}SCSS
$custom: #c0a62a; $custom-light: #d7c06e; $custom-dark: #000000;
JSON
{
"hex": "#c0a62a",
"rgb": {
"r": 192,
"g": 166,
"b": 42
},
"hsl": {
"h": 49.6,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.72739,
"c": 0.13748,
"h": 96.5
},
"luminance": 0.38646
}Semantic roles & 50–950 ramp
primary
#C0A62A
secondary
#7A88CC
accent
#5EE741
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B