#C7A93A#C7A93A
#C7A93A is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.2% C 0.131 H 93.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A93A |
|---|---|
| RGB | rgb(199, 169, 58) |
| HSL | hsl(47, 56%, 50%) |
| HSV | hsv(47, 71%, 78%) |
| CMYK | cmyk(0%, 15.1%, 70.9%, 22%) |
| CIE-LAB | lab(70.05, -0.95, 58.57) |
| CIE-LCH | lch(70.05, 58.58, 90.93°) |
| OKLab | oklab(74.16% -0.0081 0.1305) |
| OKLCH | oklch(74.16% 0.131 93.6) |
| XYZ | xyz(38.5069, 40.8257, 9.8541) |
| Luminance | 0.4082 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 4.56
Mustard
#DBB42C
ΔE00 4.63
Ocher
#BF9B0C
ΔE00 4.64
Brownish Yellow
#C9B003
ΔE00 4.66
Muddy Yellow
#BFAC05
ΔE00 4.93
Ocre
#C69C04
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A93A #3A58C7
analogous
#C7623A #C7A93A #9EC73A
triadic
#C7A93A #3AC7A9 #A93AC7
tetradic
#C7A93A #3AC762 #3A58C7 #C73A9E
square
#C7A93A #3AC762 #3A58C7 #C73A9E
split-complementary
#C7A93A #3A9EC7 #623AC7
monochromatic
#69591E #98812B #C7A93A #D5BE6A #E2D399
Accessibility & contrast
On white
2.29
#C7A93A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#C7A93A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A93A
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A93A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A93A | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#D79C93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c7a93a; /* rgb */ color: rgb(199, 169, 58); /* oklch */ color: oklch(74.2% 0.131 93.6);
Tailwind
colors: {
custom: {
50: '#dcc277',
500: '#c7a93a',
950: '#000000',
},
}SCSS
$custom: #c7a93a; $custom-light: #dcc277; $custom-dark: #000000;
JSON
{
"hex": "#c7a93a",
"rgb": {
"r": 199,
"g": 169,
"b": 58
},
"hsl": {
"h": 47.234,
"s": 55.731,
"l": 50.392
},
"oklch": {
"l": 0.74159,
"c": 0.13079,
"h": 93.6
},
"luminance": 0.40824
}Semantic roles & 50–950 ramp
primary
#C7A93A
secondary
#8F9CCE
accent
#69DF49
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B