#C8AB3F#C8AB3F
#C8AB3F is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.129 H 93.9°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AB3F |
|---|---|
| RGB | rgb(200, 171, 63) |
| HSL | hsl(47, 55%, 52%) |
| HSV | hsv(47, 69%, 78%) |
| CMYK | cmyk(0%, 14.5%, 68.5%, 21.6%) |
| CIE-LAB | lab(70.71, -1.31, 57.22) |
| CIE-LCH | lch(70.71, 57.24, 91.31°) |
| OKLab | oklab(74.71% -0.0087 0.1285) |
| OKLCH | oklch(74.71% 0.129 93.9) |
| XYZ | xyz(39.2815, 41.7662, 10.6943) |
| Luminance | 0.4176 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.58
Brownish Yellow
#C9B003
ΔE00 4.73
Desert
#CCAD60
ΔE00 4.81
Burnt Yellow
#D5AB09
ΔE00 4.88
Muddy Yellow
#BFAC05
ΔE00 5.03
Mustard (survey)
#CEB301
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AB3F #3F5CC8
analogous
#C8673F #C8AB3F #A1C83F
triadic
#C8AB3F #3FC8AB #AB3FC8
tetradic
#C8AB3F #3FC867 #3F5CC8 #C83FA1
square
#C8AB3F #3FC867 #3F5CC8 #C83FA1
split-complementary
#C8AB3F #3FA1C8 #673FC8
monochromatic
#6D5D1F #9D852D #C8AB3F #D6C06F #E3D59E
Accessibility & contrast
On white
2.25
#C8AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#C8AB3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AB3F
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AB3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AB3F | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D89E95
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c8ab3f; /* rgb */ color: rgb(200, 171, 63); /* oklch */ color: oklch(74.7% 0.129 93.9);
Tailwind
colors: {
custom: {
50: '#dcc37a',
500: '#c8ab3f',
950: '#000000',
},
}SCSS
$custom: #c8ab3f; $custom-light: #dcc37a; $custom-dark: #000000;
JSON
{
"hex": "#c8ab3f",
"rgb": {
"r": 200,
"g": 171,
"b": 63
},
"hsl": {
"h": 47.299,
"s": 55.466,
"l": 51.569
},
"oklch": {
"l": 0.74712,
"c": 0.12881,
"h": 93.9
},
"luminance": 0.41764
}Semantic roles & 50–950 ramp
primary
#C8AB3F
secondary
#93A0D0
accent
#69DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B