#C1AF3E#C1AF3E
#C1AF3E is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.132 H 100.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #C1AF3E |
|---|---|
| RGB | rgb(193, 175, 62) |
| HSL | hsl(52, 51%, 50%) |
| HSV | hsv(52, 68%, 76%) |
| CMYK | cmyk(0%, 9.3%, 67.9%, 24.3%) |
| CIE-LAB | lab(71.11, -6.51, 57.84) |
| CIE-LCH | lch(71.11, 58.21, 96.42°) |
| OKLab | oklab(74.87% -0.0232 0.1299) |
| OKLCH | oklch(74.87% 0.132 100.1) |
| XYZ | xyz(38.1935, 42.3469, 10.7185) |
| Luminance | 0.4234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.66
Brownish Yellow
#C9B003
ΔE00 4.33
Olive Yellow
#C2B709
ΔE00 4.78
Mustard (survey)
#CEB301
ΔE00 4.96
Dark Yellow
#D5B60A
ΔE00 5.82
Mustard Yellow
#D2BD0A
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1AF3E #3E50C1
analogous
#C16E3E #C1AF3E #91C13E
triadic
#C1AF3E #3EC1AF #AF3EC1
tetradic
#C1AF3E #3EC16E #3E50C1 #C13E91
square
#C1AF3E #3EC16E #3E50C1 #C13E91
split-complementary
#C1AF3E #3E91C1 #6E3EC1
monochromatic
#645B20 #93852F #C1AF3E #D0C26C #DFD59B
Accessibility & contrast
On white
2.22
#C1AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#C1AF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1AF3E
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1AF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1AF3E | 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)
#BFAA2F
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D0A398
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c1af3e; /* rgb */ color: rgb(193, 175, 62); /* oklch */ color: oklch(74.9% 0.132 100.1);
Tailwind
colors: {
custom: {
50: '#d7c679',
500: '#c1af3e',
950: '#000000',
},
}SCSS
$custom: #c1af3e; $custom-light: #d7c679; $custom-dark: #000000;
JSON
{
"hex": "#c1af3e",
"rgb": {
"r": 193,
"g": 175,
"b": 62
},
"hsl": {
"h": 51.756,
"s": 51.373,
"l": 50
},
"oklch": {
"l": 0.74873,
"c": 0.13196,
"h": 100.1
},
"luminance": 0.42345
}Semantic roles & 50–950 ramp
primary
#C1AF3E
secondary
#9098CB
accent
#60DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B