#C3AF26#C3AF26
#C3AF26 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.146 H 100.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C3AF26 |
|---|---|
| RGB | rgb(195, 175, 38) |
| HSL | hsl(52, 67%, 46%) |
| HSV | hsv(52, 81%, 76%) |
| CMYK | cmyk(0%, 10.3%, 80.5%, 23.5%) |
| CIE-LAB | lab(71.15, -6.69, 66.47) |
| CIE-LCH | lch(71.15, 66.80, 95.75°) |
| OKLab | oklab(74.9% -0.0262 0.1437) |
| OKLCH | oklch(74.9% 0.146 100.3) |
| XYZ | xyz(38.1874, 42.4039, 8.0067) |
| Luminance | 0.4240 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 1.62
Brownish Yellow
#C9B003
ΔE00 2.18
Mustard (survey)
#CEB301
ΔE00 2.99
Olive Yellow
#C2B709
ΔE00 3.42
Dark Yellow
#D5B60A
ΔE00 4.17
Mustard Yellow
#D2BD0A
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3AF26 #263AC3
analogous
#C36126 #C3AF26 #88C326
triadic
#C3AF26 #26C3AF #AF26C3
tetradic
#C3AF26 #26C361 #263AC3 #C32688
square
#C3AF26 #26C361 #263AC3 #C32688
split-complementary
#C3AF26 #2688C3 #6126C3
monochromatic
#5D5312 #90811C #C3AF26 #DCC94A #E6D97E
Accessibility & contrast
On white
2.22
#C3AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#C3AF26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3AF26
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3AF26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3AF26 | 1.00 | 2.22 | 9.48 | 9.48 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C6B131
Tritanopia (blue-blind)
#D3A296
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c3af26; /* rgb */ color: rgb(195, 175, 38); /* oklch */ color: oklch(74.9% 0.146 100.3);
Tailwind
colors: {
custom: {
50: '#d9c66d',
500: '#c3af26',
950: '#000000',
},
}SCSS
$custom: #c3af26; $custom-light: #d9c66d; $custom-dark: #000000;
JSON
{
"hex": "#c3af26",
"rgb": {
"r": 195,
"g": 175,
"b": 38
},
"hsl": {
"h": 52.357,
"s": 67.382,
"l": 45.686
},
"oklch": {
"l": 0.74902,
"c": 0.14602,
"h": 100.3
},
"luminance": 0.42402
}Semantic roles & 50–950 ramp
primary
#C3AF26
secondary
#7782CE
accent
#54EA3E
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B