#C3AF3F#C3AF3F
#C3AF3F is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.131 H 99.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C3AF3F |
|---|---|
| RGB | rgb(195, 175, 63) |
| HSL | hsl(51, 52%, 51%) |
| HSV | hsv(51, 68%, 76%) |
| CMYK | cmyk(0%, 10.3%, 67.7%, 23.5%) |
| CIE-LAB | lab(71.30, -5.58, 57.68) |
| CIE-LCH | lch(71.30, 57.95, 95.53°) |
| OKLab | oklab(75.07% -0.0206 0.1297) |
| OKLCH | oklch(75.07% 0.131 99) |
| XYZ | xyz(38.7346, 42.6227, 10.8884) |
| Luminance | 0.4262 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.77
Brownish Yellow
#C9B003
ΔE00 4.19
Mustard (survey)
#CEB301
ΔE00 4.76
Olive Yellow
#C2B709
ΔE00 5.07
Dark Yellow
#D5B60A
ΔE00 5.53
Mustard Yellow
#D2BD0A
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3AF3F #3F53C3
analogous
#C36D3F #C3AF3F #95C33F
triadic
#C3AF3F #3FC3AF #AF3FC3
tetradic
#C3AF3F #3FC36D #3F53C3 #C33F95
square
#C3AF3F #3FC36D #3F53C3 #C33F95
split-complementary
#C3AF3F #3F95C3 #6D3FC3
monochromatic
#675D20 #96862F #C3AF3F #D2C26E #E0D69C
Accessibility & contrast
On white
2.20
#C3AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#C3AF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3AF3F
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3AF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3AF3F | 1.00 | 2.20 | 9.52 | 9.52 |
| #FFFFFF | 2.20 | 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)
#C0AA30
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#D2A298
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c3af3f; /* rgb */ color: rgb(195, 175, 63); /* oklch */ color: oklch(75.1% 0.131 99.0);
Tailwind
colors: {
custom: {
50: '#d9c67a',
500: '#c3af3f',
950: '#000000',
},
}SCSS
$custom: #c3af3f; $custom-light: #d9c67a; $custom-dark: #000000;
JSON
{
"hex": "#c3af3f",
"rgb": {
"r": 195,
"g": 175,
"b": 63
},
"hsl": {
"h": 50.909,
"s": 52.381,
"l": 50.588
},
"oklch": {
"l": 0.75068,
"c": 0.13128,
"h": 99
},
"luminance": 0.42621
}Semantic roles & 50–950 ramp
primary
#C3AF3F
secondary
#929ACC
accent
#62DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C