#C4A922#C4A922
#C4A922 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.7% C 0.144 H 96.7°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A922 |
|---|---|
| RGB | rgb(196, 169, 34) |
| HSL | hsl(50, 70%, 45%) |
| HSV | hsv(50, 83%, 77%) |
| CMYK | cmyk(0%, 13.8%, 82.7%, 23.1%) |
| CIE-LAB | lab(69.63, -3.22, 66.33) |
| CIE-LCH | lch(69.63, 66.41, 92.78°) |
| OKLab | oklab(73.72% -0.0168 0.1425) |
| OKLCH | oklch(73.72% 0.144 96.7) |
| XYZ | xyz(37.2437, 40.2293, 7.3164) |
| Luminance | 0.4023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 2.67
Muddy Yellow
#BFAC05
ΔE00 2.71
Mustard (survey)
#CEB301
ΔE00 3.45
Dark Yellow
#D5B60A
ΔE00 4.34
Burnt Yellow
#D5AB09
ΔE00 4.35
Ocher
#BF9B0C
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A922 #223DC4
analogous
#C45822 #C4A922 #8EC422
triadic
#C4A922 #22C4A9 #A922C4
tetradic
#C4A922 #22C458 #223DC4 #C4228E
square
#C4A922 #22C458 #223DC4 #C4228E
split-complementary
#C4A922 #228EC4 #5822C4
monochromatic
#5C4F10 #907C19 #C4A922 #DFC545 #E8D579
Accessibility & contrast
On white
2.32
#C4A922 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#C4A922 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A922
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A922 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A922 | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#C2AE2D
Tritanopia (blue-blind)
#D49B91
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c4a922; /* rgb */ color: rgb(196, 169, 34); /* oklch */ color: oklch(73.7% 0.144 96.7);
Tailwind
colors: {
custom: {
50: '#dac26b',
500: '#c4a922',
950: '#000000',
},
}SCSS
$custom: #c4a922; $custom-light: #dac26b; $custom-dark: #000000;
JSON
{
"hex": "#c4a922",
"rgb": {
"r": 196,
"g": 169,
"b": 34
},
"hsl": {
"h": 50,
"s": 70.435,
"l": 45.098
},
"oklch": {
"l": 0.73717,
"c": 0.14351,
"h": 96.7
},
"luminance": 0.40227
}Semantic roles & 50–950 ramp
primary
#C4A922
secondary
#7382CF
accent
#58ED3B
background
#FEFBF6
surface
#FCF7EC
border
#D5D0C7
text
#161207
muted
#84817A