#C8AC3F#C8AC3F
#C8AC3F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.9% C 0.129 H 94.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AC3F |
|---|---|
| RGB | rgb(200, 172, 63) |
| HSL | hsl(48, 55%, 52%) |
| HSV | hsv(48, 69%, 78%) |
| CMYK | cmyk(0%, 14%, 68.5%, 21.6%) |
| CIE-LAB | lab(70.97, -1.84, 57.49) |
| CIE-LCH | lch(70.97, 57.52, 91.83°) |
| OKLab | oklab(74.92% -0.0102 0.1291) |
| OKLCH | oklch(74.92% 0.129 94.5) |
| XYZ | xyz(39.4711, 42.1454, 10.7575) |
| Luminance | 0.4214 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.49
Mustard
#DBB42C
ΔE00 4.55
Muddy Yellow
#BFAC05
ΔE00 4.78
Mustard (survey)
#CEB301
ΔE00 4.89
Burnt Yellow
#D5AB09
ΔE00 4.98
Desert
#CCAD60
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AC3F #3F5BC8
analogous
#C8683F #C8AC3F #A0C83F
triadic
#C8AC3F #3FC8AC #AC3FC8
tetradic
#C8AC3F #3FC868 #3F5BC8 #C83FA0
square
#C8AC3F #3FC868 #3F5BC8 #C83FA0
split-complementary
#C8AC3F #3FA0C8 #683FC8
monochromatic
#6D5D1F #9D862D #C8AC3F #D6C16F #E3D59E
Accessibility & contrast
On white
2.23
#C8AC3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#C8AC3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AC3F
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AC3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AC3F | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#C5B145
Tritanopia (blue-blind)
#D89F96
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c8ac3f; /* rgb */ color: rgb(200, 172, 63); /* oklch */ color: oklch(74.9% 0.129 94.5);
Tailwind
colors: {
custom: {
50: '#dcc47a',
500: '#c8ac3f',
950: '#000000',
},
}SCSS
$custom: #c8ac3f; $custom-light: #dcc47a; $custom-dark: #000000;
JSON
{
"hex": "#c8ac3f",
"rgb": {
"r": 200,
"g": 172,
"b": 63
},
"hsl": {
"h": 47.737,
"s": 55.466,
"l": 51.569
},
"oklch": {
"l": 0.74919,
"c": 0.12949,
"h": 94.5
},
"luminance": 0.42143
}Semantic roles & 50–950 ramp
primary
#C8AC3F
secondary
#93A0D0
accent
#68DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C