#C4B546#C4B546
#C4B546 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.5% C 0.131 H 101.6°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C4B546 |
|---|---|
| RGB | rgb(196, 181, 70) |
| HSL | hsl(53, 52%, 52%) |
| HSV | hsv(53, 64%, 77%) |
| CMYK | cmyk(0%, 7.7%, 64.3%, 23.1%) |
| CIE-LAB | lab(73.04, -7.87, 56.59) |
| CIE-LCH | lch(73.04, 57.13, 97.92°) |
| OKLab | oklab(76.49% -0.0264 0.1284) |
| OKLCH | oklch(76.49% 0.131 101.6) |
| XYZ | xyz(40.3959, 45.2274, 12.3951) |
| Luminance | 0.4523 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.51
Muddy Yellow
#BFAC05
ΔE00 4.69
Brownish Yellow
#C9B003
ΔE00 5.09
Mustard (survey)
#CEB301
ΔE00 5.47
Puke Yellow
#C2BE0E
ΔE00 5.58
Mustard Yellow
#D2BD0A
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4B546 #4655C4
analogous
#C47646 #C4B546 #94C446
triadic
#C4B546 #46C4B5 #B546C4
tetradic
#C4B546 #46C476 #4655C4 #C44694
square
#C4B546 #46C476 #4655C4 #C44694
split-complementary
#C4B546 #4694C4 #7646C4
monochromatic
#6D6423 #9B8F32 #C4B546 #D3C874 #E2DAA3
Accessibility & contrast
On white
2.09
#C4B546 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.05
#C4B546 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4B546
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4B546 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4B546 | 1.00 | 2.09 | 10.05 | 10.05 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B038
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#D2A99E
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c4b546; /* rgb */ color: rgb(196, 181, 70); /* oklch */ color: oklch(76.5% 0.131 101.6);
Tailwind
colors: {
custom: {
50: '#d9ca7f',
500: '#c4b546',
950: '#000000',
},
}SCSS
$custom: #c4b546; $custom-light: #d9ca7f; $custom-dark: #000000;
JSON
{
"hex": "#c4b546",
"rgb": {
"r": 196,
"g": 181,
"b": 70
},
"hsl": {
"h": 52.857,
"s": 51.639,
"l": 52.157
},
"oklch": {
"l": 0.7649,
"c": 0.13112,
"h": 101.6
},
"luminance": 0.45226
}Semantic roles & 50–950 ramp
primary
#C4B546
secondary
#979ECE
accent
#5EDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C