#C7AE26#C7AE26
#C7AE26 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.145 H 97.9°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AE26 |
|---|---|
| RGB | rgb(199, 174, 38) |
| HSL | hsl(51, 68%, 46%) |
| HSV | hsv(51, 81%, 78%) |
| CMYK | cmyk(0%, 12.6%, 80.9%, 22%) |
| CIE-LAB | lab(71.25, -4.41, 66.70) |
| CIE-LCH | lch(71.25, 66.85, 93.79°) |
| OKLab | oklab(75.07% -0.02 0.144) |
| OKLCH | oklch(75.07% 0.145 97.9) |
| XYZ | xyz(39.0412, 42.5563, 7.9911) |
| Luminance | 0.4255 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 1.79
Muddy Yellow
#BFAC05
ΔE00 2.30
Mustard (survey)
#CEB301
ΔE00 2.47
Dark Yellow
#D5B60A
ΔE00 3.42
Mustard
#DBB42C
ΔE00 4.44
Olive Yellow
#C2B709
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AE26 #263FC7
analogous
#C75E26 #C7AE26 #90C726
triadic
#C7AE26 #26C7AE #AE26C7
tetradic
#C7AE26 #26C75E #263FC7 #C72690
square
#C7AE26 #26C75E #263FC7 #C72690
split-complementary
#C7AE26 #2690C7 #5E26C7
monochromatic
#605412 #94811C #C7AE26 #DDC74D #E7D781
Accessibility & contrast
On white
2.21
#C7AE26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#C7AE26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AE26
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AE26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AE26 | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C7B231
Tritanopia (blue-blind)
#D7A095
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c7ae26; /* rgb */ color: rgb(199, 174, 38); /* oklch */ color: oklch(75.1% 0.145 97.9);
Tailwind
colors: {
custom: {
50: '#dcc56d',
500: '#c7ae26',
950: '#000000',
},
}SCSS
$custom: #c7ae26; $custom-light: #dcc56d; $custom-dark: #000000;
JSON
{
"hex": "#c7ae26",
"rgb": {
"r": 199,
"g": 174,
"b": 38
},
"hsl": {
"h": 50.683,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.75072,
"c": 0.14534,
"h": 97.9
},
"luminance": 0.42554
}Semantic roles & 50–950 ramp
primary
#C7AE26
secondary
#7987CF
accent
#58EB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B