#C4A722#C4A722
#C4A722 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.3% C 0.142 H 95.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A722 |
|---|---|
| RGB | rgb(196, 167, 34) |
| HSL | hsl(49, 70%, 45%) |
| HSV | hsv(49, 83%, 77%) |
| CMYK | cmyk(0%, 14.8%, 82.7%, 23.1%) |
| CIE-LAB | lab(69.11, -2.16, 65.88) |
| CIE-LCH | lch(69.11, 65.92, 91.88°) |
| OKLab | oklab(73.3% -0.0138 0.1415) |
| OKLCH | oklch(73.3% 0.142 95.6) |
| XYZ | xyz(36.8745, 39.4908, 7.1933) |
| Luminance | 0.3949 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.29
Muddy Yellow
#BFAC05
ΔE00 3.39
Ocher
#BF9B0C
ΔE00 3.78
Mustard (survey)
#CEB301
ΔE00 3.99
Burnt Yellow
#D5AB09
ΔE00 4.05
Ocre
#C69C04
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A722 #223FC4
analogous
#C45622 #C4A722 #90C422
triadic
#C4A722 #22C4A7 #A722C4
tetradic
#C4A722 #22C456 #223FC4 #C42290
square
#C4A722 #22C456 #223FC4 #C42290
split-complementary
#C4A722 #2290C4 #5622C4
monochromatic
#5C4E10 #907B19 #C4A722 #DFC345 #E8D479
Accessibility & contrast
On white
2.36
#C4A722 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#C4A722 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A722
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A722 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A722 | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#C1AD2C
Tritanopia (blue-blind)
#D4998F
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #c4a722; /* rgb */ color: rgb(196, 167, 34); /* oklch */ color: oklch(73.3% 0.142 95.6);
Tailwind
colors: {
custom: {
50: '#dbc06b',
500: '#c4a722',
950: '#000000',
},
}SCSS
$custom: #c4a722; $custom-light: #dbc06b; $custom-dark: #000000;
JSON
{
"hex": "#c4a722",
"rgb": {
"r": 196,
"g": 167,
"b": 34
},
"hsl": {
"h": 49.259,
"s": 70.435,
"l": 45.098
},
"oklch": {
"l": 0.73299,
"c": 0.1422,
"h": 95.6
},
"luminance": 0.39489
}Semantic roles & 50–950 ramp
primary
#C4A722
secondary
#7383CF
accent
#5BED3B
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161207
muted
#84817A