#C7A626#C7A626
#C7A626 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.4% C 0.140 H 93.3°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A626 |
|---|---|
| RGB | rgb(199, 166, 38) |
| HSL | hsl(48, 68%, 46%) |
| HSV | hsv(48, 81%, 78%) |
| CMYK | cmyk(0%, 16.6%, 80.9%, 22%) |
| CIE-LAB | lab(69.15, -0.18, 64.86) |
| CIE-LCH | lch(69.15, 64.86, 90.16°) |
| OKLab | oklab(73.41% -0.008 0.14) |
| OKLCH | oklch(73.41% 0.14 93.3) |
| XYZ | xyz(37.5414, 39.5568, 7.4912) |
| Luminance | 0.3955 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.26
Burnt Yellow
#D5AB09
ΔE00 3.38
Ocre
#C69C04
ΔE00 3.58
Yellow Ochre
#CB9D06
ΔE00 4.13
Brownish Yellow
#C9B003
ΔE00 4.17
Mustard
#DBB42C
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A626 #2647C7
analogous
#C75626 #C7A626 #98C726
triadic
#C7A626 #26C7A6 #A626C7
tetradic
#C7A626 #26C756 #2647C7 #C72698
square
#C7A626 #26C756 #2647C7 #C72698
split-complementary
#C7A626 #2698C7 #5626C7
monochromatic
#605012 #947B1C #C7A626 #DDC04D #E7D281
Accessibility & contrast
On white
2.36
#C7A626 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#C7A626 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A626
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A626 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A626 | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#C1AD2F
Tritanopia (blue-blind)
#D8988E
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c7a626; /* rgb */ color: rgb(199, 166, 38); /* oklch */ color: oklch(73.4% 0.140 93.3);
Tailwind
colors: {
custom: {
50: '#ddc06c',
500: '#c7a626',
950: '#000000',
},
}SCSS
$custom: #c7a626; $custom-light: #ddc06c; $custom-dark: #000000;
JSON
{
"hex": "#c7a626",
"rgb": {
"r": 199,
"g": 166,
"b": 38
},
"hsl": {
"h": 47.702,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.7341,
"c": 0.14021,
"h": 93.3
},
"luminance": 0.39554
}Semantic roles & 50–950 ramp
primary
#C7A626
secondary
#798BCF
accent
#61EB3D
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B