#C7B326#C7B326
#C7B326 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.1% C 0.149 H 100.6°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #C7B326 |
|---|---|
| RGB | rgb(199, 179, 38) |
| HSL | hsl(53, 68%, 46%) |
| HSV | hsv(53, 81%, 78%) |
| CMYK | cmyk(0%, 10.1%, 80.9%, 22%) |
| CIE-LAB | lab(72.58, -7.03, 67.85) |
| CIE-LCH | lch(72.58, 68.22, 95.91°) |
| OKLab | oklab(76.12% -0.0273 0.1465) |
| OKLCH | oklch(76.12% 0.149 100.6) |
| XYZ | xyz(40.0252, 44.5242, 8.3191) |
| Luminance | 0.4452 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 1.99
Muddy Yellow
#BFAC05
ΔE00 2.25
Mustard (survey)
#CEB301
ΔE00 2.45
Olive Yellow
#C2B709
ΔE00 2.82
Mustard Yellow
#D2BD0A
ΔE00 3.33
Dark Yellow
#D5B60A
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7B326 #263AC7
analogous
#C76326 #C7B326 #8AC726
triadic
#C7B326 #26C7B3 #B326C7
tetradic
#C7B326 #26C763 #263AC7 #C7268A
square
#C7B326 #26C763 #263AC7 #C7268A
split-complementary
#C7B326 #268AC7 #6326C7
monochromatic
#605712 #94851C #C7B326 #DDCB4D #E7DA81
Accessibility & contrast
On white
2.12
#C7B326 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#C7B326 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7B326
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7B326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7B326 | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#CAB532
Tritanopia (blue-blind)
#D7A599
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c7b326; /* rgb */ color: rgb(199, 179, 38); /* oklch */ color: oklch(76.1% 0.149 100.6);
Tailwind
colors: {
custom: {
50: '#dcc96e',
500: '#c7b326',
950: '#000000',
},
}SCSS
$custom: #c7b326; $custom-light: #dcc96e; $custom-dark: #000000;
JSON
{
"hex": "#c7b326",
"rgb": {
"r": 199,
"g": 179,
"b": 38
},
"hsl": {
"h": 52.547,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.76122,
"c": 0.14899,
"h": 100.6
},
"luminance": 0.44522
}Semantic roles & 50–950 ramp
primary
#C7B326
secondary
#7984CF
accent
#53EB3D
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B