#C7B026#C7B026
#C7B026 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.147 H 99.0°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C7B026 |
|---|---|
| RGB | rgb(199, 176, 38) |
| HSL | hsl(51, 68%, 46%) |
| HSV | hsv(51, 81%, 78%) |
| CMYK | cmyk(0%, 11.6%, 80.9%, 22%) |
| CIE-LAB | lab(71.78, -5.46, 67.16) |
| CIE-LCH | lch(71.78, 67.38, 94.65°) |
| OKLab | oklab(75.49% -0.0229 0.145) |
| OKLCH | oklch(75.49% 0.147 99) |
| XYZ | xyz(39.4304, 43.3348, 8.1209) |
| Luminance | 0.4333 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 1.64
Muddy Yellow
#BFAC05
ΔE00 2.09
Mustard (survey)
#CEB301
ΔE00 2.29
Dark Yellow
#D5B60A
ΔE00 3.34
Olive Yellow
#C2B709
ΔE00 3.81
Mustard Yellow
#D2BD0A
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7B026 #263DC7
analogous
#C76026 #C7B026 #8DC726
triadic
#C7B026 #26C7B0 #B026C7
tetradic
#C7B026 #26C760 #263DC7 #C7268D
square
#C7B026 #26C760 #263DC7 #C7268D
split-complementary
#C7B026 #268DC7 #6026C7
monochromatic
#605512 #94831C #C7B026 #DDC84D #E7D881
Accessibility & contrast
On white
2.17
#C7B026 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#C7B026 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7B026
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7B026 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7B026 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C8B331
Tritanopia (blue-blind)
#D7A297
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c7b026; /* rgb */ color: rgb(199, 176, 38); /* oklch */ color: oklch(75.5% 0.147 99.0);
Tailwind
colors: {
custom: {
50: '#dcc76e',
500: '#c7b026',
950: '#000000',
},
}SCSS
$custom: #c7b026; $custom-light: #dcc76e; $custom-dark: #000000;
JSON
{
"hex": "#c7b026",
"rgb": {
"r": 199,
"g": 176,
"b": 38
},
"hsl": {
"h": 51.429,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.75491,
"c": 0.14676,
"h": 99
},
"luminance": 0.43333
}Semantic roles & 50–950 ramp
primary
#C7B026
secondary
#7986CF
accent
#56EB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B