#C7A73A#C7A73A
#C7A73A is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.7% C 0.130 H 92.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A73A |
|---|---|
| RGB | rgb(199, 167, 58) |
| HSL | hsl(46, 56%, 50%) |
| HSV | hsv(46, 71%, 78%) |
| CMYK | cmyk(0%, 16.1%, 70.9%, 22%) |
| CIE-LAB | lab(69.53, 0.12, 58.05) |
| CIE-LCH | lch(69.53, 58.05, 89.89°) |
| OKLab | oklab(73.75% -0.0051 0.1294) |
| OKLCH | oklch(73.75% 0.13 92.3) |
| XYZ | xyz(38.1377, 40.0872, 9.7310) |
| Luminance | 0.4008 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.21
Burnt Yellow
#D5AB09
ΔE00 4.52
Ocre
#C69C04
ΔE00 4.53
Mustard
#DBB42C
ΔE00 4.87
Yellow Ochre
#CB9D06
ΔE00 4.90
Desert
#CCAD60
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A73A #3A5AC7
analogous
#C7603A #C7A73A #A0C73A
triadic
#C7A73A #3AC7A7 #A73AC7
tetradic
#C7A73A #3AC760 #3A5AC7 #C73AA0
square
#C7A73A #3AC760 #3A5AC7 #C73AA0
split-complementary
#C7A73A #3AA0C7 #603AC7
monochromatic
#69581E #98802B #C7A73A #D5BC6A #E2D299
Accessibility & contrast
On white
2.33
#C7A73A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#C7A73A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A73A
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A73A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A73A | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A42B
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#D79A91
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c7a73a; /* rgb */ color: rgb(199, 167, 58); /* oklch */ color: oklch(73.7% 0.130 92.3);
Tailwind
colors: {
custom: {
50: '#dcc077',
500: '#c7a73a',
950: '#000000',
},
}SCSS
$custom: #c7a73a; $custom-light: #dcc077; $custom-dark: #000000;
JSON
{
"hex": "#c7a73a",
"rgb": {
"r": 199,
"g": 167,
"b": 58
},
"hsl": {
"h": 46.383,
"s": 55.731,
"l": 50.392
},
"oklch": {
"l": 0.73747,
"c": 0.12953,
"h": 92.3
},
"luminance": 0.40085
}Semantic roles & 50–950 ramp
primary
#C7A73A
secondary
#8F9DCE
accent
#6BDF49
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B