#C4B442#C4B442
#C4B442 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.133 H 101.3°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C4B442 |
|---|---|
| RGB | rgb(196, 180, 66) |
| HSL | hsl(53, 52%, 51%) |
| HSV | hsv(53, 66%, 77%) |
| CMYK | cmyk(0%, 8.2%, 66.3%, 23.1%) |
| CIE-LAB | lab(72.74, -7.59, 57.96) |
| CIE-LCH | lch(72.74, 58.46, 97.46°) |
| OKLab | oklab(76.24% -0.026 0.1307) |
| OKLCH | oklch(76.24% 0.133 101.3) |
| XYZ | xyz(40.0713, 44.7733, 11.6846) |
| Luminance | 0.4477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.20
Olive Yellow
#C2B709
ΔE00 4.23
Brownish Yellow
#C9B003
ΔE00 4.60
Mustard (survey)
#CEB301
ΔE00 5.02
Mustard Yellow
#D2BD0A
ΔE00 5.31
Puke Yellow
#C2BE0E
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4B442 #4252C4
analogous
#C47342 #C4B442 #93C442
triadic
#C4B442 #42C4B4 #B442C4
tetradic
#C4B442 #42C473 #4252C4 #C44293
square
#C4B442 #42C473 #4252C4 #C44293
split-complementary
#C4B442 #4293C4 #7342C4
monochromatic
#6A6121 #998C30 #C4B442 #D3C771 #E1D99F
Accessibility & contrast
On white
2.11
#C4B442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.95
#C4B442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4B442
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4B442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4B442 | 1.00 | 2.11 | 9.95 | 9.95 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF33
Deuteranopia (green-blind)
#C9B549
Tritanopia (blue-blind)
#D3A89C
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c4b442; /* rgb */ color: rgb(196, 180, 66); /* oklch */ color: oklch(76.2% 0.133 101.3);
Tailwind
colors: {
custom: {
50: '#d9ca7c',
500: '#c4b442',
950: '#000000',
},
}SCSS
$custom: #c4b442; $custom-light: #d9ca7c; $custom-dark: #000000;
JSON
{
"hex": "#c4b442",
"rgb": {
"r": 196,
"g": 180,
"b": 66
},
"hsl": {
"h": 52.615,
"s": 52.419,
"l": 51.373
},
"oklch": {
"l": 0.76243,
"c": 0.13327,
"h": 101.3
},
"luminance": 0.44772
}Semantic roles & 50–950 ramp
primary
#C4B442
secondary
#949BCE
accent
#5EDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C