#C8AB46#C8AB46
#C8AB46 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.124 H 93.1°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AB46 |
|---|---|
| RGB | rgb(200, 171, 70) |
| HSL | hsl(47, 54%, 53%) |
| HSV | hsv(47, 65%, 78%) |
| CMYK | cmyk(0%, 14.5%, 65%, 21.6%) |
| CIE-LAB | lab(70.77, -0.90, 54.27) |
| CIE-LCH | lch(70.77, 54.28, 90.95°) |
| OKLab | oklab(74.78% -0.0066 0.1234) |
| OKLCH | oklch(74.78% 0.124 93.1) |
| XYZ | xyz(39.4897, 41.8495, 11.7909) |
| Luminance | 0.4185 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.97
Mustard
#DBB42C
ΔE00 5.06
Sandy Brown
#C4A661
ΔE00 5.34
Burnt Yellow
#D5AB09
ΔE00 5.48
Brownish Yellow
#C9B003
ΔE00 5.57
Ocher
#BF9B0C
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AB46 #4663C8
analogous
#C86A46 #C8AB46 #A4C846
triadic
#C8AB46 #46C8AB #AB46C8
tetradic
#C8AB46 #46C86A #4663C8 #C846A4
square
#C8AB46 #46C86A #4663C8 #C846A4
split-complementary
#C8AB46 #46A4C8 #6A46C8
monochromatic
#726022 #A18830 #C8AB46 #D6C075 #E4D6A4
Accessibility & contrast
On white
2.24
#C8AB46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#C8AB46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AB46
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AB46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AB46 | 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)
#BCA83A
Deuteranopia (green-blind)
#C3B14B
Tritanopia (blue-blind)
#D79E96
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c8ab46; /* rgb */ color: rgb(200, 171, 70); /* oklch */ color: oklch(74.8% 0.124 93.1);
Tailwind
colors: {
custom: {
50: '#dcc37e',
500: '#c8ab46',
950: '#000000',
},
}SCSS
$custom: #c8ab46; $custom-light: #dcc37e; $custom-dark: #000000;
JSON
{
"hex": "#c8ab46",
"rgb": {
"r": 200,
"g": 171,
"b": 70
},
"hsl": {
"h": 46.615,
"s": 54.167,
"l": 52.941
},
"oklch": {
"l": 0.74776,
"c": 0.12358,
"h": 93.1
},
"luminance": 0.41847
}Semantic roles & 50–950 ramp
primary
#C8AB46
secondary
#99A5D1
accent
#6BDE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C