#C2AF3E#C2AF3E
#C2AF3E is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.132 H 99.6°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF3E |
|---|---|
| RGB | rgb(194, 175, 62) |
| HSL | hsl(51, 52%, 50%) |
| HSV | hsv(51, 68%, 76%) |
| CMYK | cmyk(0%, 9.8%, 68%, 23.9%) |
| CIE-LAB | lab(71.20, -6.07, 57.96) |
| CIE-LCH | lch(71.20, 58.28, 95.98°) |
| OKLab | oklab(74.97% -0.022 0.1301) |
| OKLCH | oklch(74.97% 0.132 99.6) |
| XYZ | xyz(38.4493, 42.4788, 10.7305) |
| Luminance | 0.4248 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.65
Brownish Yellow
#C9B003
ΔE00 4.20
Mustard (survey)
#CEB301
ΔE00 4.80
Olive Yellow
#C2B709
ΔE00 4.87
Dark Yellow
#D5B60A
ΔE00 5.63
Mustard Yellow
#D2BD0A
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF3E #3E51C2
analogous
#C26D3E #C2AF3E #93C23E
triadic
#C2AF3E #3EC2AF #AF3EC2
tetradic
#C2AF3E #3EC26D #3E51C2 #C23E93
square
#C2AF3E #3EC26D #3E51C2 #C23E93
split-complementary
#C2AF3E #3E93C2 #6D3EC2
monochromatic
#665C20 #94852F #C2AF3E #D1C26D #DFD69B
Accessibility & contrast
On white
2.21
#C2AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#C2AF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF3E
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF3E | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA2F
Deuteranopia (green-blind)
#C5B145
Tritanopia (blue-blind)
#D1A398
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2af3e; /* rgb */ color: rgb(194, 175, 62); /* oklch */ color: oklch(75.0% 0.132 99.6);
Tailwind
colors: {
custom: {
50: '#d8c679',
500: '#c2af3e',
950: '#000000',
},
}SCSS
$custom: #c2af3e; $custom-light: #d8c679; $custom-dark: #000000;
JSON
{
"hex": "#c2af3e",
"rgb": {
"r": 194,
"g": 175,
"b": 62
},
"hsl": {
"h": 51.364,
"s": 51.969,
"l": 50.196
},
"oklch": {
"l": 0.74966,
"c": 0.13197,
"h": 99.6
},
"luminance": 0.42477
}Semantic roles & 50–950 ramp
primary
#C2AF3E
secondary
#9099CB
accent
#61DB4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B