#C7A826#C7A826
#C7A826 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.8% C 0.141 H 94.5°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A826 |
|---|---|
| RGB | rgb(199, 168, 38) |
| HSL | hsl(48, 68%, 46%) |
| HSV | hsv(48, 81%, 78%) |
| CMYK | cmyk(0%, 15.6%, 80.9%, 22%) |
| CIE-LAB | lab(69.68, -1.25, 65.32) |
| CIE-LCH | lch(69.68, 65.33, 91.09°) |
| OKLab | oklab(73.82% -0.011 0.141) |
| OKLCH | oklch(73.82% 0.141 94.5) |
| XYZ | xyz(37.9078, 40.2896, 7.6134) |
| Luminance | 0.4029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.45
Burnt Yellow
#D5AB09
ΔE00 3.50
Ocher
#BF9B0C
ΔE00 3.86
Muddy Yellow
#BFAC05
ΔE00 3.91
Mustard (survey)
#CEB301
ΔE00 3.97
Mustard
#DBB42C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A826 #2645C7
analogous
#C75826 #C7A826 #96C726
triadic
#C7A826 #26C7A8 #A826C7
tetradic
#C7A826 #26C758 #2645C7 #C72696
square
#C7A826 #26C758 #2645C7 #C72696
split-complementary
#C7A826 #2696C7 #5826C7
monochromatic
#605112 #947D1C #C7A826 #DDC14D #E7D381
Accessibility & contrast
On white
2.32
#C7A826 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#C7A826 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A826
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A826 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A826 | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#C2AE2F
Tritanopia (blue-blind)
#D89A90
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c7a826; /* rgb */ color: rgb(199, 168, 38); /* oklch */ color: oklch(73.8% 0.141 94.5);
Tailwind
colors: {
custom: {
50: '#ddc16d',
500: '#c7a826',
950: '#000000',
},
}SCSS
$custom: #c7a826; $custom-light: #ddc16d; $custom-dark: #000000;
JSON
{
"hex": "#c7a826",
"rgb": {
"r": 199,
"g": 168,
"b": 38
},
"hsl": {
"h": 48.447,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.73823,
"c": 0.1414,
"h": 94.5
},
"luminance": 0.40287
}Semantic roles & 50–950 ramp
primary
#C7A826
secondary
#798ACF
accent
#5EEB3D
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B