#C3B042#C3B042
#C3B042 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.3% C 0.130 H 99.4°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #C3B042 |
|---|---|
| RGB | rgb(195, 176, 66) |
| HSL | hsl(51, 52%, 51%) |
| HSV | hsv(51, 66%, 76%) |
| CMYK | cmyk(0%, 9.7%, 66.2%, 23.5%) |
| CIE-LAB | lab(71.59, -5.94, 56.73) |
| CIE-LCH | lch(71.59, 57.04, 95.97°) |
| OKLab | oklab(75.31% -0.0212 0.1281) |
| OKLCH | oklch(75.31% 0.13 99.4) |
| XYZ | xyz(39.0161, 43.0479, 11.4071) |
| Luminance | 0.4305 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.07
Brownish Yellow
#C9B003
ΔE00 4.49
Mustard (survey)
#CEB301
ΔE00 5.03
Olive Yellow
#C2B709
ΔE00 5.08
Dark Yellow
#D5B60A
ΔE00 5.76
Mustard Yellow
#D2BD0A
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3B042 #4255C3
analogous
#C36F42 #C3B042 #95C342
triadic
#C3B042 #42C3B0 #B042C3
tetradic
#C3B042 #42C36F #4255C3 #C34295
square
#C3B042 #42C36F #4255C3 #C34295
split-complementary
#C3B042 #4295C3 #6F42C3
monochromatic
#695F21 #988830 #C3B042 #D2C370 #E0D79F
Accessibility & contrast
On white
2.19
#C3B042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#C3B042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3B042
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3B042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3B042 | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C6B248
Tritanopia (blue-blind)
#D2A499
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c3b042; /* rgb */ color: rgb(195, 176, 66); /* oklch */ color: oklch(75.3% 0.130 99.4);
Tailwind
colors: {
custom: {
50: '#d8c77c',
500: '#c3b042',
950: '#000000',
},
}SCSS
$custom: #c3b042; $custom-light: #d8c77c; $custom-dark: #000000;
JSON
{
"hex": "#c3b042",
"rgb": {
"r": 195,
"g": 176,
"b": 66
},
"hsl": {
"h": 51.163,
"s": 51.807,
"l": 51.176
},
"oklch": {
"l": 0.75305,
"c": 0.12989,
"h": 99.4
},
"luminance": 0.43046
}Semantic roles & 50–950 ramp
primary
#C3B042
secondary
#949CCD
accent
#62DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C