#C7A726#C7A726
#C7A726 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.6% C 0.141 H 93.9°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A726 |
|---|---|
| RGB | rgb(199, 167, 38) |
| HSL | hsl(48, 68%, 46%) |
| HSV | hsv(48, 81%, 78%) |
| CMYK | cmyk(0%, 16.1%, 80.9%, 22%) |
| CIE-LAB | lab(69.41, -0.71, 65.09) |
| CIE-LCH | lch(69.41, 65.10, 90.63°) |
| OKLab | oklab(73.62% -0.0095 0.1405) |
| OKLCH | oklch(73.62% 0.141 93.9) |
| XYZ | xyz(37.7239, 39.9218, 7.5521) |
| Luminance | 0.3992 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.42
Ocher
#BF9B0C
ΔE00 3.55
Brownish Yellow
#C9B003
ΔE00 3.80
Ocre
#C69C04
ΔE00 3.94
Muddy Yellow
#BFAC05
ΔE00 4.25
Mustard (survey)
#CEB301
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A726 #2646C7
analogous
#C75726 #C7A726 #96C726
triadic
#C7A726 #26C7A7 #A726C7
tetradic
#C7A726 #26C757 #2646C7 #C72696
square
#C7A726 #26C757 #2646C7 #C72696
split-complementary
#C7A726 #2696C7 #5726C7
monochromatic
#605112 #947C1C #C7A726 #DDC04D #E7D381
Accessibility & contrast
On white
2.34
#C7A726 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#C7A726 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A726
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A726 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#C2AE2F
Tritanopia (blue-blind)
#D8998F
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c7a726; /* rgb */ color: rgb(199, 167, 38); /* oklch */ color: oklch(73.6% 0.141 93.9);
Tailwind
colors: {
custom: {
50: '#ddc06d',
500: '#c7a726',
950: '#000000',
},
}SCSS
$custom: #c7a726; $custom-light: #ddc06d; $custom-dark: #000000;
JSON
{
"hex": "#c7a726",
"rgb": {
"r": 199,
"g": 167,
"b": 38
},
"hsl": {
"h": 48.075,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.73617,
"c": 0.14079,
"h": 93.9
},
"luminance": 0.39919
}Semantic roles & 50–950 ramp
primary
#C7A726
secondary
#798ACF
accent
#60EB3D
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B