#C3AF3D#C3AF3D
#C3AF3D is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.133 H 99.2°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C3AF3D |
|---|---|
| RGB | rgb(195, 175, 61) |
| HSL | hsl(51, 53%, 50%) |
| HSV | hsv(51, 69%, 76%) |
| CMYK | cmyk(0%, 10.3%, 68.7%, 23.5%) |
| CIE-LAB | lab(71.28, -5.70, 58.49) |
| CIE-LCH | lch(71.28, 58.76, 95.56°) |
| OKLab | oklab(75.05% -0.0211 0.131) |
| OKLCH | oklch(75.05% 0.133 99.2) |
| XYZ | xyz(38.6797, 42.6008, 10.5993) |
| Luminance | 0.4260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.56
Brownish Yellow
#C9B003
ΔE00 3.98
Mustard (survey)
#CEB301
ΔE00 4.57
Olive Yellow
#C2B709
ΔE00 4.88
Dark Yellow
#D5B60A
ΔE00 5.37
Mustard Yellow
#D2BD0A
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3AF3D #3D51C3
analogous
#C36C3D #C3AF3D #94C33D
triadic
#C3AF3D #3DC3AF #AF3DC3
tetradic
#C3AF3D #3DC36C #3D51C3 #C33D94
square
#C3AF3D #3DC36C #3D51C3 #C33D94
split-complementary
#C3AF3D #3D94C3 #6C3DC3
monochromatic
#665C20 #95852E #C3AF3D #D1C26C #E0D69A
Accessibility & contrast
On white
2.21
#C3AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#C3AF3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3AF3D
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3AF3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3AF3D | 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)
#C0AA2D
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#D2A298
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c3af3d; /* rgb */ color: rgb(195, 175, 61); /* oklch */ color: oklch(75.1% 0.133 99.2);
Tailwind
colors: {
custom: {
50: '#d9c679',
500: '#c3af3d',
950: '#000000',
},
}SCSS
$custom: #c3af3d; $custom-light: #d9c679; $custom-dark: #000000;
JSON
{
"hex": "#c3af3d",
"rgb": {
"r": 195,
"g": 175,
"b": 61
},
"hsl": {
"h": 51.045,
"s": 52.756,
"l": 50.196
},
"oklch": {
"l": 0.75052,
"c": 0.13271,
"h": 99.2
},
"luminance": 0.42599
}Semantic roles & 50–950 ramp
primary
#C3AF3D
secondary
#9099CC
accent
#61DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B