#C7A926#C7A926
#C7A926 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.0% C 0.142 H 95.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A926 |
|---|---|
| RGB | rgb(199, 169, 38) |
| HSL | hsl(49, 68%, 46%) |
| HSV | hsv(49, 81%, 78%) |
| CMYK | cmyk(0%, 15.1%, 80.9%, 22%) |
| CIE-LAB | lab(69.94, -1.78, 65.55) |
| CIE-LCH | lch(69.94, 65.57, 91.55°) |
| OKLab | oklab(74.03% -0.0125 0.1415) |
| OKLCH | oklch(74.03% 0.142 95.1) |
| XYZ | xyz(38.0932, 40.6602, 7.6751) |
| Luminance | 0.4066 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.11
Muddy Yellow
#BFAC05
ΔE00 3.58
Burnt Yellow
#D5AB09
ΔE00 3.63
Mustard (survey)
#CEB301
ΔE00 3.66
Mustard
#DBB42C
ΔE00 4.18
Ocher
#BF9B0C
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A926 #2644C7
analogous
#C75926 #C7A926 #95C726
triadic
#C7A926 #26C7A9 #A926C7
tetradic
#C7A926 #26C759 #2644C7 #C72695
square
#C7A926 #26C759 #2644C7 #C72695
split-complementary
#C7A926 #2695C7 #5926C7
monochromatic
#605212 #947D1C #C7A926 #DDC24D #E7D481
Accessibility & contrast
On white
2.30
#C7A926 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#C7A926 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A926
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A926 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A926 | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#C3AF30
Tritanopia (blue-blind)
#D89B91
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c7a926; /* rgb */ color: rgb(199, 169, 38); /* oklch */ color: oklch(74.0% 0.142 95.1);
Tailwind
colors: {
custom: {
50: '#ddc26d',
500: '#c7a926',
950: '#000000',
},
}SCSS
$custom: #c7a926; $custom-light: #ddc26d; $custom-dark: #000000;
JSON
{
"hex": "#c7a926",
"rgb": {
"r": 199,
"g": 169,
"b": 38
},
"hsl": {
"h": 48.82,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.7403,
"c": 0.14202,
"h": 95.1
},
"luminance": 0.40658
}Semantic roles & 50–950 ramp
primary
#C7A926
secondary
#7989CF
accent
#5DEB3D
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B