#C7A336#C7A336
#C7A336 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.9% C 0.130 H 90.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A336 |
|---|---|
| RGB | rgb(199, 163, 54) |
| HSL | hsl(45, 57%, 50%) |
| HSV | hsv(45, 73%, 78%) |
| CMYK | cmyk(0%, 18.1%, 72.9%, 22%) |
| CIE-LAB | lab(68.46, 2.06, 58.59) |
| CIE-LCH | lch(68.46, 58.62, 87.99°) |
| OKLab | oklab(72.9% 0 0.1298) |
| OKLCH | oklch(72.9% 0.13 90) |
| XYZ | xyz(37.3184, 38.6052, 8.9753) |
| Luminance | 0.3860 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.41
Ocre
#C69C04
ΔE00 3.44
Yellow Ochre
#CB9D06
ΔE00 3.72
Burnt Yellow
#D5AB09
ΔE00 4.54
Goldenrod
#DAA520
ΔE00 4.87
Dark Gold
#B59410
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A336 #365AC7
analogous
#C75A36 #C7A336 #A3C736
triadic
#C7A336 #36C7A3 #A336C7
tetradic
#C7A336 #36C75A #365AC7 #C736A3
square
#C7A336 #36C75A #365AC7 #C736A3
split-complementary
#C7A336 #36A3C7 #5A36C7
monochromatic
#67541C #977C29 #C7A336 #D5B965 #E2CF95
Accessibility & contrast
On white
2.41
#C7A336 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#C7A336 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A336
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A336 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A336 | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A126
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#D7958D
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c7a336; /* rgb */ color: rgb(199, 163, 54); /* oklch */ color: oklch(72.9% 0.130 90.0);
Tailwind
colors: {
custom: {
50: '#dcbd74',
500: '#c7a336',
950: '#000000',
},
}SCSS
$custom: #c7a336; $custom-light: #dcbd74; $custom-dark: #000000;
JSON
{
"hex": "#c7a336",
"rgb": {
"r": 199,
"g": 163,
"b": 54
},
"hsl": {
"h": 45.103,
"s": 57.312,
"l": 49.608
},
"oklch": {
"l": 0.72896,
"c": 0.12981,
"h": 90
},
"luminance": 0.38603
}Semantic roles & 50–950 ramp
primary
#C7A336
secondary
#8B9CCE
accent
#6DE147
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B