#C1AF46#C1AF46
#C1AF46 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.126 H 99.6°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C1AF46 |
|---|---|
| RGB | rgb(193, 175, 70) |
| HSL | hsl(51, 50%, 52%) |
| HSV | hsv(51, 64%, 76%) |
| CMYK | cmyk(0%, 9.3%, 63.7%, 24.3%) |
| CIE-LAB | lab(71.17, -6.03, 54.52) |
| CIE-LCH | lch(71.17, 54.85, 96.31°) |
| OKLab | oklab(74.94% -0.0209 0.1241) |
| OKLCH | oklch(74.94% 0.126 99.6) |
| XYZ | xyz(38.4294, 42.4413, 11.9609) |
| Luminance | 0.4244 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.58
Brownish Yellow
#C9B003
ΔE00 5.16
Olive Yellow
#C2B709
ΔE00 5.61
Mustard (survey)
#CEB301
ΔE00 5.73
Darkkhaki
#BDB76B
ΔE00 6.01
Desert
#CCAD60
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1AF46 #4658C1
analogous
#C17246 #C1AF46 #95C146
triadic
#C1AF46 #46C1AF #AF46C1
tetradic
#C1AF46 #46C172 #4658C1 #C14695
square
#C1AF46 #46C172 #4658C1 #C14695
split-complementary
#C1AF46 #4695C1 #7246C1
monochromatic
#695F23 #978833 #C1AF46 #D0C374 #E0D7A2
Accessibility & contrast
On white
2.21
#C1AF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#C1AF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1AF46
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1AF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1AF46 | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA3A
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#CFA399
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c1af46; /* rgb */ color: rgb(193, 175, 70); /* oklch */ color: oklch(74.9% 0.126 99.6);
Tailwind
colors: {
custom: {
50: '#d7c67e',
500: '#c1af46',
950: '#000000',
},
}SCSS
$custom: #c1af46; $custom-light: #d7c67e; $custom-dark: #000000;
JSON
{
"hex": "#c1af46",
"rgb": {
"r": 193,
"g": 175,
"b": 70
},
"hsl": {
"h": 51.22,
"s": 49.798,
"l": 51.569
},
"oklch": {
"l": 0.74945,
"c": 0.12588,
"h": 99.6
},
"luminance": 0.4244
}Semantic roles & 50–950 ramp
primary
#C1AF46
secondary
#969ECC
accent
#63D94E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C