#C2AC42#C2AC42
#C2AC42 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.4% C 0.127 H 97.4°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AC42 |
|---|---|
| RGB | rgb(194, 172, 66) |
| HSL | hsl(50, 51%, 51%) |
| HSV | hsv(50, 66%, 76%) |
| CMYK | cmyk(0%, 11.3%, 66%, 23.9%) |
| CIE-LAB | lab(70.43, -4.26, 55.49) |
| CIE-LCH | lch(70.43, 55.65, 94.39°) |
| OKLab | oklab(74.37% -0.0164 0.1256) |
| OKLCH | oklch(74.37% 0.127 97.4) |
| XYZ | xyz(37.9857, 41.3696, 11.1375) |
| Luminance | 0.4137 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.40
Brownish Yellow
#C9B003
ΔE00 4.81
Mustard (survey)
#CEB301
ΔE00 5.41
Desert
#CCAD60
ΔE00 5.53
Mustard
#DBB42C
ΔE00 6.04
Dark Yellow
#D5B60A
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AC42 #4258C2
analogous
#C26C42 #C2AC42 #98C242
triadic
#C2AC42 #42C2AC #AC42C2
tetradic
#C2AC42 #42C26C #4258C2 #C24298
square
#C2AC42 #42C26C #4258C2 #C24298
split-complementary
#C2AC42 #4298C2 #6C42C2
monochromatic
#685C22 #968531 #C2AC42 #D1C070 #E0D59F
Accessibility & contrast
On white
2.26
#C2AC42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#C2AC42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AC42
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AC42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AC42 | 1.00 | 2.26 | 9.27 | 9.27 |
| #FFFFFF | 2.26 | 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)
#BCA835
Deuteranopia (green-blind)
#C2AF48
Tritanopia (blue-blind)
#D1A096
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c2ac42; /* rgb */ color: rgb(194, 172, 66); /* oklch */ color: oklch(74.4% 0.127 97.4);
Tailwind
colors: {
custom: {
50: '#d8c47b',
500: '#c2ac42',
950: '#000000',
},
}SCSS
$custom: #c2ac42; $custom-light: #d8c47b; $custom-dark: #000000;
JSON
{
"hex": "#c2ac42",
"rgb": {
"r": 194,
"g": 172,
"b": 66
},
"hsl": {
"h": 49.688,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.7437,
"c": 0.12662,
"h": 97.4
},
"luminance": 0.41368
}Semantic roles & 50–950 ramp
primary
#C2AC42
secondary
#949DCC
accent
#65DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C