#C6AC3A#C6AC3A
#C6AC3A is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.133 H 96.0°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C6AC3A |
|---|---|
| RGB | rgb(198, 172, 58) |
| HSL | hsl(49, 55%, 50%) |
| HSV | hsv(49, 71%, 78%) |
| CMYK | cmyk(0%, 13.1%, 70.7%, 22.4%) |
| CIE-LAB | lab(70.75, -2.97, 59.24) |
| CIE-LCH | lch(70.75, 59.31, 92.87°) |
| OKLab | oklab(74.68% -0.0139 0.132) |
| OKLCH | oklch(74.68% 0.133 96) |
| XYZ | xyz(38.8069, 41.8183, 10.0299) |
| Luminance | 0.4182 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.86
Muddy Yellow
#BFAC05
ΔE00 3.95
Mustard (survey)
#CEB301
ΔE00 4.38
Mustard
#DBB42C
ΔE00 4.76
Dark Yellow
#D5B60A
ΔE00 4.97
Burnt Yellow
#D5AB09
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6AC3A #3A54C6
analogous
#C6663A #C6AC3A #9AC63A
triadic
#C6AC3A #3AC6AC #AC3AC6
tetradic
#C6AC3A #3AC666 #3A54C6 #C63A9A
square
#C6AC3A #3AC666 #3A54C6 #C63A9A
split-complementary
#C6AC3A #3A9AC6 #663AC6
monochromatic
#685A1E #97832C #C6AC3A #D4C069 #E1D499
Accessibility & contrast
On white
2.24
#C6AC3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#C6AC3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6AC3A
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6AC3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6AC3A | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#C4B140
Tritanopia (blue-blind)
#D69F95
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c6ac3a; /* rgb */ color: rgb(198, 172, 58); /* oklch */ color: oklch(74.7% 0.133 96.0);
Tailwind
colors: {
custom: {
50: '#dbc477',
500: '#c6ac3a',
950: '#000000',
},
}SCSS
$custom: #c6ac3a; $custom-light: #dbc477; $custom-dark: #000000;
JSON
{
"hex": "#c6ac3a",
"rgb": {
"r": 198,
"g": 172,
"b": 58
},
"hsl": {
"h": 48.857,
"s": 55.118,
"l": 50.196
},
"oklch": {
"l": 0.74684,
"c": 0.1327,
"h": 96
},
"luminance": 0.41816
}Semantic roles & 50–950 ramp
primary
#C6AC3A
secondary
#8F9ACD
accent
#65DE49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B