#C7A526#C7A526
#C7A526 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.2% C 0.140 H 92.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A526 |
|---|---|
| RGB | rgb(199, 165, 38) |
| HSL | hsl(47, 68%, 46%) |
| HSV | hsv(47, 81%, 78%) |
| CMYK | cmyk(0%, 17.1%, 80.9%, 22%) |
| CIE-LAB | lab(68.89, 0.35, 64.63) |
| CIE-LCH | lch(68.89, 64.63, 89.69°) |
| OKLab | oklab(73.2% -0.0065 0.1395) |
| OKLCH | oklch(73.2% 0.14 92.7) |
| XYZ | xyz(37.3604, 39.1946, 7.4309) |
| Luminance | 0.3919 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.98
Ocre
#C69C04
ΔE00 3.24
Burnt Yellow
#D5AB09
ΔE00 3.38
Yellow Ochre
#CB9D06
ΔE00 3.77
Brownish Yellow
#C9B003
ΔE00 4.54
Mustard
#DBB42C
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A526 #2648C7
analogous
#C75526 #C7A526 #99C726
triadic
#C7A526 #26C7A5 #A526C7
tetradic
#C7A526 #26C755 #2648C7 #C72699
square
#C7A526 #26C755 #2648C7 #C72699
split-complementary
#C7A526 #2699C7 #5526C7
monochromatic
#605012 #947A1C #C7A526 #DDBF4D #E7D181
Accessibility & contrast
On white
2.38
#C7A526 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#C7A526 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A526
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A526 | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#C0AC2F
Tritanopia (blue-blind)
#D8978E
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c7a526; /* rgb */ color: rgb(199, 165, 38); /* oklch */ color: oklch(73.2% 0.140 92.7);
Tailwind
colors: {
custom: {
50: '#ddbf6c',
500: '#c7a526',
950: '#000000',
},
}SCSS
$custom: #c7a526; $custom-light: #ddbf6c; $custom-dark: #000000;
JSON
{
"hex": "#c7a526",
"rgb": {
"r": 199,
"g": 165,
"b": 38
},
"hsl": {
"h": 47.329,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.73204,
"c": 0.13963,
"h": 92.7
},
"luminance": 0.39192
}Semantic roles & 50–950 ramp
primary
#C7A526
secondary
#798CCF
accent
#62EB3D
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161208
muted
#84817B