#C8A63C#C8A63C
#C8A63C is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.7% C 0.128 H 90.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A63C |
|---|---|
| RGB | rgb(200, 166, 60) |
| HSL | hsl(45, 56%, 51%) |
| HSV | hsv(45, 70%, 78%) |
| CMYK | cmyk(0%, 17%, 70%, 21.6%) |
| CIE-LAB | lab(69.38, 1.19, 57.11) |
| CIE-LCH | lch(69.38, 57.12, 88.81°) |
| OKLab | oklab(73.66% -0.0018 0.1278) |
| OKLCH | oklch(73.66% 0.128 90.8) |
| XYZ | xyz(38.2733, 39.8803, 9.9559) |
| Luminance | 0.3988 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.19
Ocre
#C69C04
ΔE00 4.32
Yellow Ochre
#CB9D06
ΔE00 4.58
Burnt Yellow
#D5AB09
ΔE00 4.61
Desert
#CCAD60
ΔE00 4.68
Mustard
#DBB42C
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A63C #3C5EC8
analogous
#C8603C #C8A63C #A4C83C
triadic
#C8A63C #3CC8A6 #A63CC8
tetradic
#C8A63C #3CC860 #3C5EC8 #C83CA4
square
#C8A63C #3CC860 #3C5EC8 #C83CA4
split-complementary
#C8A63C #3CA4C8 #603CC8
monochromatic
#6B591E #9B802C #C8A63C #D5BC6C #E3D29B
Accessibility & contrast
On white
2.34
#C8A63C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#C8A63C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A63C
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A63C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A63C | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A42E
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#D89990
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c8a63c; /* rgb */ color: rgb(200, 166, 60); /* oklch */ color: oklch(73.7% 0.128 90.8);
Tailwind
colors: {
custom: {
50: '#ddc078',
500: '#c8a63c',
950: '#000000',
},
}SCSS
$custom: #c8a63c; $custom-light: #ddc078; $custom-dark: #000000;
JSON
{
"hex": "#c8a63c",
"rgb": {
"r": 200,
"g": 166,
"b": 60
},
"hsl": {
"h": 45.429,
"s": 56,
"l": 50.98
},
"oklch": {
"l": 0.73658,
"c": 0.12777,
"h": 90.8
},
"luminance": 0.39878
}Semantic roles & 50–950 ramp
primary
#C8A63C
secondary
#91A0CF
accent
#6DDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B