#C4B042#C4B042
#C4B042 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.130 H 98.9°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C4B042 |
|---|---|
| RGB | rgb(196, 176, 66) |
| HSL | hsl(51, 52%, 51%) |
| HSV | hsv(51, 66%, 77%) |
| CMYK | cmyk(0%, 10.2%, 66.3%, 23.1%) |
| CIE-LAB | lab(71.68, -5.50, 56.85) |
| CIE-LCH | lch(71.68, 57.12, 95.53°) |
| OKLab | oklab(75.4% -0.0201 0.1284) |
| OKLCH | oklch(75.4% 0.13 98.9) |
| XYZ | xyz(39.2754, 43.1816, 11.4193) |
| Luminance | 0.4318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.08
Brownish Yellow
#C9B003
ΔE00 4.39
Mustard (survey)
#CEB301
ΔE00 4.89
Olive Yellow
#C2B709
ΔE00 5.19
Dark Yellow
#D5B60A
ΔE00 5.59
Mustard
#DBB42C
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4B042 #4256C4
analogous
#C46F42 #C4B042 #97C442
triadic
#C4B042 #42C4B0 #B042C4
tetradic
#C4B042 #42C46F #4256C4 #C44297
square
#C4B042 #42C46F #4256C4 #C44297
split-complementary
#C4B042 #4297C4 #6F42C4
monochromatic
#6A5F21 #998930 #C4B042 #D3C371 #E1D79F
Accessibility & contrast
On white
2.18
#C4B042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#C4B042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4B042
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4B042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4B042 | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC34
Deuteranopia (green-blind)
#C6B348
Tritanopia (blue-blind)
#D3A499
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c4b042; /* rgb */ color: rgb(196, 176, 66); /* oklch */ color: oklch(75.4% 0.130 98.9);
Tailwind
colors: {
custom: {
50: '#d9c77c',
500: '#c4b042',
950: '#000000',
},
}SCSS
$custom: #c4b042; $custom-light: #d9c77c; $custom-dark: #000000;
JSON
{
"hex": "#c4b042",
"rgb": {
"r": 196,
"g": 176,
"b": 66
},
"hsl": {
"h": 50.769,
"s": 52.419,
"l": 51.373
},
"oklch": {
"l": 0.75398,
"c": 0.12993,
"h": 98.9
},
"luminance": 0.4318
}Semantic roles & 50–950 ramp
primary
#C4B042
secondary
#949DCE
accent
#62DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C