#C4AA3E#C4AA3E
#C4AA3E is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.1% C 0.128 H 95.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C4AA3E |
|---|---|
| RGB | rgb(196, 170, 62) |
| HSL | hsl(48, 53%, 51%) |
| HSV | hsv(48, 68%, 77%) |
| CMYK | cmyk(0%, 13.3%, 68.4%, 23.1%) |
| CIE-LAB | lab(70.06, -2.57, 56.85) |
| CIE-LCH | lch(70.06, 56.91, 92.59°) |
| OKLab | oklab(74.11% -0.0121 0.1277) |
| OKLCH | oklch(74.11% 0.128 95.4) |
| XYZ | xyz(38.0110, 40.8350, 10.4363) |
| Luminance | 0.4083 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.55
Brownish Yellow
#C9B003
ΔE00 4.66
Mustard (survey)
#CEB301
ΔE00 5.22
Desert
#CCAD60
ΔE00 5.22
Mustard
#DBB42C
ΔE00 5.34
Ocher
#BF9B0C
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4AA3E #3E58C4
analogous
#C4673E #C4AA3E #9BC43E
triadic
#C4AA3E #3EC4AA #AA3EC4
tetradic
#C4AA3E #3EC467 #3E58C4 #C43E9B
square
#C4AA3E #3EC467 #3E58C4 #C43E9B
split-complementary
#C4AA3E #3E9BC4 #673EC4
monochromatic
#685A20 #97822E #C4AA3E #D2BF6D #E1D39C
Accessibility & contrast
On white
2.29
#C4AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C4AA3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4AA3E
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4AA3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4AA3E | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA730
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#D39D94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c4aa3e; /* rgb */ color: rgb(196, 170, 62); /* oklch */ color: oklch(74.1% 0.128 95.4);
Tailwind
colors: {
custom: {
50: '#d9c279',
500: '#c4aa3e',
950: '#000000',
},
}SCSS
$custom: #c4aa3e; $custom-light: #d9c279; $custom-dark: #000000;
JSON
{
"hex": "#c4aa3e",
"rgb": {
"r": 196,
"g": 170,
"b": 62
},
"hsl": {
"h": 48.358,
"s": 53.175,
"l": 50.588
},
"oklch": {
"l": 0.74107,
"c": 0.12828,
"h": 95.4
},
"luminance": 0.40833
}Semantic roles & 50–950 ramp
primary
#C4AA3E
secondary
#919DCD
accent
#67DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B