#C8A638#C8A638
#C8A638 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.6% C 0.130 H 91.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A638 |
|---|---|
| RGB | rgb(200, 166, 56) |
| HSL | hsl(46, 57%, 50%) |
| HSV | hsv(46, 72%, 78%) |
| CMYK | cmyk(0%, 17%, 72%, 21.6%) |
| CIE-LAB | lab(69.36, 0.99, 58.71) |
| CIE-LCH | lch(69.36, 58.72, 89.04°) |
| OKLab | oklab(73.63% -0.0029 0.1304) |
| OKLCH | oklch(73.63% 0.13 91.3) |
| XYZ | xyz(38.1715, 39.8396, 9.4199) |
| Luminance | 0.3984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.91
Ocre
#C69C04
ΔE00 4.05
Burnt Yellow
#D5AB09
ΔE00 4.25
Yellow Ochre
#CB9D06
ΔE00 4.36
Mustard
#DBB42C
ΔE00 4.83
Desert
#CCAD60
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A638 #385AC8
analogous
#C85E38 #C8A638 #A2C838
triadic
#C8A638 #38C8A6 #A638C8
tetradic
#C8A638 #38C85E #385AC8 #C838A2
square
#C8A638 #38C85E #385AC8 #C838A2
split-complementary
#C8A638 #38A2C8 #5E38C8
monochromatic
#69571D #997F2A #C8A638 #D5BB68 #E3D198
Accessibility & contrast
On white
2.34
#C8A638 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#C8A638 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A638
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A638 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A638 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A428
Deuteranopia (green-blind)
#C1AD3E
Tritanopia (blue-blind)
#D89890
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c8a638; /* rgb */ color: rgb(200, 166, 56); /* oklch */ color: oklch(73.6% 0.130 91.3);
Tailwind
colors: {
custom: {
50: '#ddc075',
500: '#c8a638',
950: '#000000',
},
}SCSS
$custom: #c8a638; $custom-light: #ddc075; $custom-dark: #000000;
JSON
{
"hex": "#c8a638",
"rgb": {
"r": 200,
"g": 166,
"b": 56
},
"hsl": {
"h": 45.833,
"s": 56.693,
"l": 50.196
},
"oklch": {
"l": 0.73626,
"c": 0.13044,
"h": 91.3
},
"luminance": 0.39837
}Semantic roles & 50–950 ramp
primary
#C8A638
secondary
#8E9DCE
accent
#6CE048
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B