#C6AC3F#C6AC3F
#C6AC3F is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.7% C 0.129 H 95.6°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C6AC3F |
|---|---|
| RGB | rgb(198, 172, 63) |
| HSL | hsl(48, 54%, 51%) |
| HSV | hsv(48, 68%, 78%) |
| CMYK | cmyk(0%, 13.1%, 68.2%, 22.4%) |
| CIE-LAB | lab(70.78, -2.71, 57.24) |
| CIE-LCH | lch(70.78, 57.30, 92.71°) |
| OKLab | oklab(74.72% -0.0125 0.1286) |
| OKLCH | oklch(74.72% 0.129 95.6) |
| XYZ | xyz(38.9403, 41.8717, 10.7326) |
| Luminance | 0.4187 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.40
Muddy Yellow
#BFAC05
ΔE00 4.47
Mustard (survey)
#CEB301
ΔE00 4.88
Mustard
#DBB42C
ΔE00 4.97
Desert
#CCAD60
ΔE00 5.23
Dark Yellow
#D5B60A
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6AC3F #3F59C6
analogous
#C6683F #C6AC3F #9DC63F
triadic
#C6AC3F #3FC6AC #AC3FC6
tetradic
#C6AC3F #3FC668 #3F59C6 #C63F9D
square
#C6AC3F #3FC668 #3F59C6 #C63F9D
split-complementary
#C6AC3F #3F9DC6 #683FC6
monochromatic
#6B5C20 #9A852E #C6AC3F #D4C06E #E2D59D
Accessibility & contrast
On white
2.24
#C6AC3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#C6AC3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6AC3F
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6AC3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6AC3F | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D59F96
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c6ac3f; /* rgb */ color: rgb(198, 172, 63); /* oklch */ color: oklch(74.7% 0.129 95.6);
Tailwind
colors: {
custom: {
50: '#dbc47a',
500: '#c6ac3f',
950: '#000000',
},
}SCSS
$custom: #c6ac3f; $custom-light: #dbc47a; $custom-dark: #000000;
JSON
{
"hex": "#c6ac3f",
"rgb": {
"r": 198,
"g": 172,
"b": 63
},
"hsl": {
"h": 48.444,
"s": 54.217,
"l": 51.176
},
"oklch": {
"l": 0.74725,
"c": 0.12923,
"h": 95.6
},
"luminance": 0.4187
}Semantic roles & 50–950 ramp
primary
#C6AC3F
secondary
#939ECE
accent
#67DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B