#C3AF3E#C3AF3E
#C3AF3E is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.132 H 99.1°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C3AF3E |
|---|---|
| RGB | rgb(195, 175, 62) |
| HSL | hsl(51, 53%, 50%) |
| HSV | hsv(51, 68%, 76%) |
| CMYK | cmyk(0%, 10.3%, 68.2%, 23.5%) |
| CIE-LAB | lab(71.29, -5.64, 58.09) |
| CIE-LCH | lch(71.29, 58.36, 95.55°) |
| OKLab | oklab(75.06% -0.0208 0.1303) |
| OKLCH | oklch(75.06% 0.132 99.1) |
| XYZ | xyz(38.7069, 42.6117, 10.7425) |
| Luminance | 0.4261 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.67
Brownish Yellow
#C9B003
ΔE00 4.08
Mustard (survey)
#CEB301
ΔE00 4.66
Olive Yellow
#C2B709
ΔE00 4.97
Dark Yellow
#D5B60A
ΔE00 5.45
Mustard Yellow
#D2BD0A
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3AF3E #3E52C3
analogous
#C36C3E #C3AF3E #95C33E
triadic
#C3AF3E #3EC3AF #AF3EC3
tetradic
#C3AF3E #3EC36C #3E52C3 #C33E95
square
#C3AF3E #3EC36C #3E52C3 #C33E95
split-complementary
#C3AF3E #3E95C3 #6C3EC3
monochromatic
#675C20 #95862E #C3AF3E #D2C26D #E0D69B
Accessibility & contrast
On white
2.21
#C3AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#C3AF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3AF3E
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3AF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3AF3E | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA2F
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#D2A298
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c3af3e; /* rgb */ color: rgb(195, 175, 62); /* oklch */ color: oklch(75.1% 0.132 99.1);
Tailwind
colors: {
custom: {
50: '#d9c679',
500: '#c3af3e',
950: '#000000',
},
}SCSS
$custom: #c3af3e; $custom-light: #d9c679; $custom-dark: #000000;
JSON
{
"hex": "#c3af3e",
"rgb": {
"r": 195,
"g": 175,
"b": 62
},
"hsl": {
"h": 50.977,
"s": 52.569,
"l": 50.392
},
"oklch": {
"l": 0.7506,
"c": 0.132,
"h": 99.1
},
"luminance": 0.4261
}Semantic roles & 50–950 ramp
primary
#C3AF3E
secondary
#919ACC
accent
#61DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B