#C4AF3E#C4AF3E
#C4AF3E is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.2% C 0.132 H 98.6°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C4AF3E |
|---|---|
| RGB | rgb(196, 175, 62) |
| HSL | hsl(51, 53%, 51%) |
| HSV | hsv(51, 68%, 77%) |
| CMYK | cmyk(0%, 10.7%, 68.4%, 23.1%) |
| CIE-LAB | lab(71.38, -5.21, 58.21) |
| CIE-LCH | lch(71.38, 58.44, 95.11°) |
| OKLab | oklab(75.15% -0.0197 0.1306) |
| OKLCH | oklch(75.15% 0.132 98.6) |
| XYZ | xyz(38.9662, 42.7454, 10.7547) |
| Luminance | 0.4274 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.70
Brownish Yellow
#C9B003
ΔE00 3.99
Mustard (survey)
#CEB301
ΔE00 4.54
Olive Yellow
#C2B709
ΔE00 5.10
Dark Yellow
#D5B60A
ΔE00 5.28
Mustard
#DBB42C
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4AF3E #3E53C4
analogous
#C46C3E #C4AF3E #96C43E
triadic
#C4AF3E #3EC4AF #AF3EC4
tetradic
#C4AF3E #3EC46C #3E53C4 #C43E96
square
#C4AF3E #3EC46C #3E53C4 #C43E96
split-complementary
#C4AF3E #3E96C4 #6C3EC4
monochromatic
#685D20 #97862E #C4AF3E #D2C26D #E1D69C
Accessibility & contrast
On white
2.20
#C4AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#C4AF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4AF3E
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4AF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4AF3E | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2F
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#D3A298
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c4af3e; /* rgb */ color: rgb(196, 175, 62); /* oklch */ color: oklch(75.2% 0.132 98.6);
Tailwind
colors: {
custom: {
50: '#d9c679',
500: '#c4af3e',
950: '#000000',
},
}SCSS
$custom: #c4af3e; $custom-light: #d9c679; $custom-dark: #000000;
JSON
{
"hex": "#c4af3e",
"rgb": {
"r": 196,
"g": 175,
"b": 62
},
"hsl": {
"h": 50.597,
"s": 53.175,
"l": 50.588
},
"oklch": {
"l": 0.75154,
"c": 0.13204,
"h": 98.6
},
"luminance": 0.42744
}Semantic roles & 50–950 ramp
primary
#C4AF3E
secondary
#919ACD
accent
#62DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B