#C1AF3F#C1AF3F
#C1AF3F is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.131 H 100.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #C1AF3F |
|---|---|
| RGB | rgb(193, 175, 63) |
| HSL | hsl(52, 51%, 50%) |
| HSV | hsv(52, 67%, 76%) |
| CMYK | cmyk(0%, 9.3%, 67.4%, 24.3%) |
| CIE-LAB | lab(71.12, -6.45, 57.44) |
| CIE-LCH | lch(71.12, 57.80, 96.41°) |
| OKLab | oklab(74.88% -0.0229 0.1292) |
| OKLCH | oklch(74.88% 0.131 100.1) |
| XYZ | xyz(38.2212, 42.3580, 10.8643) |
| Luminance | 0.4236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.77
Brownish Yellow
#C9B003
ΔE00 4.43
Olive Yellow
#C2B709
ΔE00 4.88
Mustard (survey)
#CEB301
ΔE00 5.05
Dark Yellow
#D5B60A
ΔE00 5.89
Mustard Yellow
#D2BD0A
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1AF3F #3F51C1
analogous
#C16E3F #C1AF3F #92C13F
triadic
#C1AF3F #3FC1AF #AF3FC1
tetradic
#C1AF3F #3FC16E #3F51C1 #C13F92
square
#C1AF3F #3FC16E #3F51C1 #C13F92
split-complementary
#C1AF3F #3F92C1 #6E3FC1
monochromatic
#655C21 #938530 #C1AF3F #D0C26D #DFD69C
Accessibility & contrast
On white
2.22
#C1AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#C1AF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1AF3F
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1AF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1AF3F | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D0A398
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c1af3f; /* rgb */ color: rgb(193, 175, 63); /* oklch */ color: oklch(74.9% 0.131 100.1);
Tailwind
colors: {
custom: {
50: '#d7c67a',
500: '#c1af3f',
950: '#000000',
},
}SCSS
$custom: #c1af3f; $custom-light: #d7c67a; $custom-dark: #000000;
JSON
{
"hex": "#c1af3f",
"rgb": {
"r": 193,
"g": 175,
"b": 63
},
"hsl": {
"h": 51.692,
"s": 51.181,
"l": 50.196
},
"oklch": {
"l": 0.74882,
"c": 0.13123,
"h": 100.1
},
"luminance": 0.42356
}Semantic roles & 50–950 ramp
primary
#C1AF3F
secondary
#9199CB
accent
#61DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C