#C2AC3F#C2AC3F
#C2AC3F is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.3% C 0.129 H 97.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AC3F |
|---|---|
| RGB | rgb(194, 172, 63) |
| HSL | hsl(50, 52%, 50%) |
| HSV | hsv(50, 68%, 76%) |
| CMYK | cmyk(0%, 11.3%, 67.5%, 23.9%) |
| CIE-LAB | lab(70.41, -4.44, 56.74) |
| CIE-LCH | lch(70.41, 56.91, 94.47°) |
| OKLab | oklab(74.34% -0.0173 0.1277) |
| OKLCH | oklch(74.34% 0.129 97.7) |
| XYZ | xyz(37.8996, 41.3351, 10.6838) |
| Luminance | 0.4133 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.05
Brownish Yellow
#C9B003
ΔE00 4.48
Mustard (survey)
#CEB301
ΔE00 5.10
Desert
#CCAD60
ΔE00 5.83
Dark Yellow
#D5B60A
ΔE00 5.84
Olive Yellow
#C2B709
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AC3F #3F55C2
analogous
#C26B3F #C2AC3F #96C23F
triadic
#C2AC3F #3FC2AC #AC3FC2
tetradic
#C2AC3F #3FC26B #3F55C2 #C23F96
square
#C2AC3F #3FC26B #3F55C2 #C23F96
split-complementary
#C2AC3F #3F96C2 #6B3FC2
monochromatic
#665A20 #95842F #C2AC3F #D1C06D #E0D49C
Accessibility & contrast
On white
2.27
#C2AC3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#C2AC3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AC3F
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AC3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AC3F | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#C2AF45
Tritanopia (blue-blind)
#D19F96
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c2ac3f; /* rgb */ color: rgb(194, 172, 63); /* oklch */ color: oklch(74.3% 0.129 97.7);
Tailwind
colors: {
custom: {
50: '#d8c47a',
500: '#c2ac3f',
950: '#000000',
},
}SCSS
$custom: #c2ac3f; $custom-light: #d8c47a; $custom-dark: #000000;
JSON
{
"hex": "#c2ac3f",
"rgb": {
"r": 194,
"g": 172,
"b": 63
},
"hsl": {
"h": 49.924,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.74343,
"c": 0.12885,
"h": 97.7
},
"luminance": 0.41333
}Semantic roles & 50–950 ramp
primary
#C2AC3F
secondary
#919BCC
accent
#65DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B