#C4A733#C4A733
#C4A733 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.4% C 0.134 H 94.5°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A733 |
|---|---|
| RGB | rgb(196, 167, 51) |
| HSL | hsl(48, 59%, 48%) |
| HSV | hsv(48, 74%, 77%) |
| CMYK | cmyk(0%, 14.8%, 74%, 23.1%) |
| CIE-LAB | lab(69.19, -1.53, 60.35) |
| CIE-LCH | lch(69.19, 60.37, 91.45°) |
| OKLab | oklab(73.4% -0.0104 0.1331) |
| OKLCH | oklch(73.4% 0.134 94.5) |
| XYZ | xyz(37.1832, 39.6143, 8.8191) |
| Luminance | 0.3961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.05
Brownish Yellow
#C9B003
ΔE00 4.37
Muddy Yellow
#BFAC05
ΔE00 4.38
Burnt Yellow
#D5AB09
ΔE00 4.63
Ocre
#C69C04
ΔE00 4.72
Mustard (survey)
#CEB301
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A733 #3350C4
analogous
#C45E33 #C4A733 #98C433
triadic
#C4A733 #33C4A7 #A733C4
tetradic
#C4A733 #33C45E #3350C4 #C43398
square
#C4A733 #33C45E #3350C4 #C43398
split-complementary
#C4A733 #3398C4 #5E33C4
monochromatic
#63541A #937E26 #C4A733 #D5BE5F #E2D18F
Accessibility & contrast
On white
2.35
#C4A733 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#C4A733 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A733
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A733 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A733 | 1.00 | 2.35 | 8.92 | 8.92 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A420
Deuteranopia (green-blind)
#C0AD3A
Tritanopia (blue-blind)
#D49A90
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c4a733; /* rgb */ color: rgb(196, 167, 51); /* oklch */ color: oklch(73.4% 0.134 94.5);
Tailwind
colors: {
custom: {
50: '#dac073',
500: '#c4a733',
950: '#000000',
},
}SCSS
$custom: #c4a733; $custom-light: #dac073; $custom-dark: #000000;
JSON
{
"hex": "#c4a733",
"rgb": {
"r": 196,
"g": 167,
"b": 51
},
"hsl": {
"h": 48,
"s": 58.704,
"l": 48.431
},
"oklch": {
"l": 0.73398,
"c": 0.13351,
"h": 94.5
},
"luminance": 0.39612
}Semantic roles & 50–950 ramp
primary
#C4A733
secondary
#8694CD
accent
#65E246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B