#C8A733#C8A733
#C8A733 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.8% C 0.134 H 92.4°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A733 |
|---|---|
| RGB | rgb(200, 167, 51) |
| HSL | hsl(47, 59%, 49%) |
| HSV | hsv(47, 75%, 78%) |
| CMYK | cmyk(0%, 16.5%, 74.5%, 21.6%) |
| CIE-LAB | lab(69.58, 0.22, 60.86) |
| CIE-LCH | lch(69.58, 60.86, 89.79°) |
| OKLab | oklab(73.79% -0.0056 0.134) |
| OKLCH | oklch(73.79% 0.134 92.4) |
| XYZ | xyz(38.2378, 40.1581, 8.8686) |
| Luminance | 0.4016 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.83
Burnt Yellow
#D5AB09
ΔE00 3.84
Ocre
#C69C04
ΔE00 4.07
Mustard
#DBB42C
ΔE00 4.43
Yellow Ochre
#CB9D06
ΔE00 4.46
Brownish Yellow
#C9B003
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A733 #3354C8
analogous
#C85C33 #C8A733 #9FC833
triadic
#C8A733 #33C8A7 #A733C8
tetradic
#C8A733 #33C85C #3354C8 #C8339F
square
#C8A733 #33C85C #3354C8 #C8339F
split-complementary
#C8A733 #339FC8 #5C33C8
monochromatic
#66561A #977E27 #C8A733 #D7BD61 #E3D192
Accessibility & contrast
On white
2.33
#C8A733 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#C8A733 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A733
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A733 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A733 | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A41F
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#D89990
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c8a733; /* rgb */ color: rgb(200, 167, 51); /* oklch */ color: oklch(73.8% 0.134 92.4);
Tailwind
colors: {
custom: {
50: '#ddc073',
500: '#c8a733',
950: '#000000',
},
}SCSS
$custom: #c8a733; $custom-light: #ddc073; $custom-dark: #000000;
JSON
{
"hex": "#c8a733",
"rgb": {
"r": 200,
"g": 167,
"b": 51
},
"hsl": {
"h": 46.711,
"s": 59.363,
"l": 49.216
},
"oklch": {
"l": 0.73794,
"c": 0.13413,
"h": 92.4
},
"luminance": 0.40156
}Semantic roles & 50–950 ramp
primary
#C8A733
secondary
#8998CE
accent
#68E345
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B