#C7AC26#C7AC26
#C7AC26 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.144 H 96.8°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AC26 |
|---|---|
| RGB | rgb(199, 172, 38) |
| HSL | hsl(50, 68%, 46%) |
| HSV | hsv(50, 81%, 78%) |
| CMYK | cmyk(0%, 13.6%, 80.9%, 22%) |
| CIE-LAB | lab(70.73, -3.36, 66.24) |
| CIE-LCH | lch(70.73, 66.32, 92.90°) |
| OKLab | oklab(74.65% -0.017 0.143) |
| OKLCH | oklch(74.65% 0.144 96.8) |
| XYZ | xyz(38.6577, 41.7892, 7.8633) |
| Luminance | 0.4179 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.21
Muddy Yellow
#BFAC05
ΔE00 2.72
Mustard (survey)
#CEB301
ΔE00 2.84
Dark Yellow
#D5B60A
ΔE00 3.67
Burnt Yellow
#D5AB09
ΔE00 4.19
Mustard
#DBB42C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AC26 #2641C7
analogous
#C75C26 #C7AC26 #92C726
triadic
#C7AC26 #26C7AC #AC26C7
tetradic
#C7AC26 #26C75C #2641C7 #C72692
square
#C7AC26 #26C75C #2641C7 #C72692
split-complementary
#C7AC26 #2692C7 #5C26C7
monochromatic
#605312 #94801C #C7AC26 #DDC54D #E7D681
Accessibility & contrast
On white
2.24
#C7AC26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#C7AC26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AC26
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AC26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AC26 | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#C5B130
Tritanopia (blue-blind)
#D79E93
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c7ac26; /* rgb */ color: rgb(199, 172, 38); /* oklch */ color: oklch(74.7% 0.144 96.8);
Tailwind
colors: {
custom: {
50: '#ddc46d',
500: '#c7ac26',
950: '#000000',
},
}SCSS
$custom: #c7ac26; $custom-light: #ddc46d; $custom-dark: #000000;
JSON
{
"hex": "#c7ac26",
"rgb": {
"r": 199,
"g": 172,
"b": 38
},
"hsl": {
"h": 49.938,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.74654,
"c": 0.14397,
"h": 96.8
},
"luminance": 0.41787
}Semantic roles & 50–950 ramp
primary
#C7AC26
secondary
#7988CF
accent
#5AEB3D
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161208
muted
#84817B