#C8A530#C8A530
#C8A530 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.4% C 0.135 H 91.4°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A530 |
|---|---|
| RGB | rgb(200, 165, 48) |
| HSL | hsl(46, 61%, 49%) |
| HSV | hsv(46, 76%, 78%) |
| CMYK | cmyk(0%, 17.5%, 76%, 21.6%) |
| CIE-LAB | lab(69.04, 1.16, 61.45) |
| CIE-LCH | lch(69.04, 61.46, 88.92°) |
| OKLab | oklab(73.36% -0.0033 0.1347) |
| OKLCH | oklch(73.36% 0.135 91.4) |
| XYZ | xyz(37.8102, 39.4054, 8.4102) |
| Luminance | 0.3940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.31
Ocre
#C69C04
ΔE00 3.39
Burnt Yellow
#D5AB09
ΔE00 3.74
Yellow Ochre
#CB9D06
ΔE00 3.75
Mustard
#DBB42C
ΔE00 4.70
Goldenrod
#DAA520
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A530 #3053C8
analogous
#C85930 #C8A530 #9FC830
triadic
#C8A530 #30C8A5 #A530C8
tetradic
#C8A530 #30C859 #3053C8 #C8309F
square
#C8A530 #30C859 #3053C8 #C8309F
split-complementary
#C8A530 #309FC8 #5930C8
monochromatic
#655418 #977C24 #C8A530 #D8BC5D #E4D08E
Accessibility & contrast
On white
2.36
#C8A530 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#C8A530 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A530
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A530 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A530 | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#C0AD37
Tritanopia (blue-blind)
#D9978E
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c8a530; /* rgb */ color: rgb(200, 165, 48); /* oklch */ color: oklch(73.4% 0.135 91.4);
Tailwind
colors: {
custom: {
50: '#ddbf71',
500: '#c8a530',
950: '#000000',
},
}SCSS
$custom: #c8a530; $custom-light: #ddbf71; $custom-dark: #000000;
JSON
{
"hex": "#c8a530",
"rgb": {
"r": 200,
"g": 165,
"b": 48
},
"hsl": {
"h": 46.184,
"s": 61.29,
"l": 48.627
},
"oklch": {
"l": 0.73364,
"c": 0.13471,
"h": 91.4
},
"luminance": 0.39403
}Semantic roles & 50–950 ramp
primary
#C8A530
secondary
#8596CE
accent
#68E443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B