#C7B643#C7B643
#C7B643 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.9% C 0.134 H 100.8°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C7B643 |
|---|---|
| RGB | rgb(199, 182, 67) |
| HSL | hsl(52, 54%, 52%) |
| HSV | hsv(52, 66%, 78%) |
| CMYK | cmyk(0%, 8.5%, 66.3%, 22%) |
| CIE-LAB | lab(73.55, -7.29, 58.47) |
| CIE-LCH | lch(73.55, 58.92, 97.11°) |
| OKLab | oklab(76.95% -0.0252 0.1319) |
| OKLCH | oklch(76.95% 0.134 100.8) |
| XYZ | xyz(41.2960, 46.0050, 12.0137) |
| Luminance | 0.4600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.19
Muddy Yellow
#BFAC05
ΔE00 4.40
Brownish Yellow
#C9B003
ΔE00 4.50
Mustard (survey)
#CEB301
ΔE00 4.78
Mustard Yellow
#D2BD0A
ΔE00 4.90
Puke Yellow
#C2BE0E
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7B643 #4354C7
analogous
#C77443 #C7B643 #96C743
triadic
#C7B643 #43C7B6 #B643C7
tetradic
#C7B643 #43C774 #4354C7 #C74396
square
#C7B643 #43C774 #4354C7 #C74396
split-complementary
#C7B643 #4396C7 #7443C7
monochromatic
#6F6521 #9E902F #C7B643 #D5C872 #E3DBA1
Accessibility & contrast
On white
2.06
#C7B643 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.20
#C7B643 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7B643
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7B643 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7B643 | 1.00 | 2.06 | 10.20 | 10.20 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B134
Deuteranopia (green-blind)
#CBB84A
Tritanopia (blue-blind)
#D6A99E
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #c7b643; /* rgb */ color: rgb(199, 182, 67); /* oklch */ color: oklch(76.9% 0.134 100.8);
Tailwind
colors: {
custom: {
50: '#dbcb7d',
500: '#c7b643',
950: '#000000',
},
}SCSS
$custom: #c7b643; $custom-light: #dbcb7d; $custom-dark: #000000;
JSON
{
"hex": "#c7b643",
"rgb": {
"r": 199,
"g": 182,
"b": 67
},
"hsl": {
"h": 52.273,
"s": 54.098,
"l": 52.157
},
"oklch": {
"l": 0.76949,
"c": 0.13425,
"h": 100.8
},
"luminance": 0.46003
}Semantic roles & 50–950 ramp
primary
#C7B643
secondary
#969ED0
accent
#5DDD4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C