#C3AF36#C3AF36
#C3AF36 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.137 H 99.6°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C3AF36 |
|---|---|
| RGB | rgb(195, 175, 54) |
| HSL | hsl(51, 57%, 49%) |
| HSV | hsv(51, 72%, 76%) |
| CMYK | cmyk(0%, 10.3%, 72.3%, 23.5%) |
| CIE-LAB | lab(71.23, -6.05, 61.17) |
| CIE-LCH | lch(71.23, 61.47, 95.65°) |
| OKLab | oklab(75% -0.0229 0.1354) |
| OKLCH | oklch(75% 0.137 99.6) |
| XYZ | xyz(38.5033, 42.5302, 9.6704) |
| Luminance | 0.4253 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.86
Brownish Yellow
#C9B003
ΔE00 3.32
Mustard (survey)
#CEB301
ΔE00 3.97
Olive Yellow
#C2B709
ΔE00 4.31
Dark Yellow
#D5B60A
ΔE00 4.89
Mustard Yellow
#D2BD0A
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3AF36 #364AC3
analogous
#C36836 #C3AF36 #91C336
triadic
#C3AF36 #36C3AF #AF36C3
tetradic
#C3AF36 #36C368 #364AC3 #C33691
square
#C3AF36 #36C368 #364AC3 #C33691
split-complementary
#C3AF36 #3691C3 #6836C3
monochromatic
#63591B #938429 #C3AF36 #D4C463 #E1D692
Accessibility & contrast
On white
2.21
#C3AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#C3AF36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3AF36
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3AF36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3AF36 | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA22
Deuteranopia (green-blind)
#C5B23E
Tritanopia (blue-blind)
#D2A297
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c3af36; /* rgb */ color: rgb(195, 175, 54); /* oklch */ color: oklch(75.0% 0.137 99.6);
Tailwind
colors: {
custom: {
50: '#d9c675',
500: '#c3af36',
950: '#000000',
},
}SCSS
$custom: #c3af36; $custom-light: #d9c675; $custom-dark: #000000;
JSON
{
"hex": "#c3af36",
"rgb": {
"r": 195,
"g": 175,
"b": 54
},
"hsl": {
"h": 51.489,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.74998,
"c": 0.13737,
"h": 99.6
},
"luminance": 0.42528
}Semantic roles & 50–950 ramp
primary
#C3AF36
secondary
#8992CC
accent
#5DE048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B