#C7AC3F#C7AC3F
#C7AC3F is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.8% C 0.129 H 95.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AC3F |
|---|---|
| RGB | rgb(199, 172, 63) |
| HSL | hsl(48, 55%, 51%) |
| HSV | hsv(48, 68%, 78%) |
| CMYK | cmyk(0%, 13.6%, 68.3%, 22%) |
| CIE-LAB | lab(70.88, -2.27, 57.36) |
| CIE-LCH | lch(70.88, 57.41, 92.27°) |
| OKLab | oklab(74.82% -0.0114 0.1289) |
| OKLCH | oklch(74.82% 0.129 95) |
| XYZ | xyz(39.2048, 42.0081, 10.7450) |
| Luminance | 0.4201 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.44
Muddy Yellow
#BFAC05
ΔE00 4.62
Mustard
#DBB42C
ΔE00 4.76
Mustard (survey)
#CEB301
ΔE00 4.88
Desert
#CCAD60
ΔE00 5.10
Burnt Yellow
#D5AB09
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AC3F #3F5AC7
analogous
#C7683F #C7AC3F #9EC73F
triadic
#C7AC3F #3FC7AC #AC3FC7
tetradic
#C7AC3F #3FC768 #3F5AC7 #C73F9E
square
#C7AC3F #3FC768 #3F5AC7 #C73F9E
split-complementary
#C7AC3F #3F9EC7 #683FC7
monochromatic
#6C5D20 #9B862D #C7AC3F #D5C06E #E3D59E
Accessibility & contrast
On white
2.23
#C7AC3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#C7AC3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AC3F
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AC3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AC3F | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA931
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D79F96
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c7ac3f; /* rgb */ color: rgb(199, 172, 63); /* oklch */ color: oklch(74.8% 0.129 95.0);
Tailwind
colors: {
custom: {
50: '#dcc47a',
500: '#c7ac3f',
950: '#000000',
},
}SCSS
$custom: #c7ac3f; $custom-light: #dcc47a; $custom-dark: #000000;
JSON
{
"hex": "#c7ac3f",
"rgb": {
"r": 199,
"g": 172,
"b": 63
},
"hsl": {
"h": 48.088,
"s": 54.839,
"l": 51.373
},
"oklch": {
"l": 0.74822,
"c": 0.12936,
"h": 95
},
"luminance": 0.42006
}Semantic roles & 50–950 ramp
primary
#C7AC3F
secondary
#939FCF
accent
#67DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B