#C4AE3B#C4AE3B
#C4AE3B is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.133 H 98.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C4AE3B |
|---|---|
| RGB | rgb(196, 174, 59) |
| HSL | hsl(50, 54%, 50%) |
| HSV | hsv(50, 70%, 77%) |
| CMYK | cmyk(0%, 11.2%, 69.9%, 23.1%) |
| CIE-LAB | lab(71.09, -4.84, 59.13) |
| CIE-LCH | lch(71.09, 59.33, 94.68°) |
| OKLab | oklab(74.92% -0.019 0.132) |
| OKLCH | oklch(74.92% 0.133 98.2) |
| XYZ | xyz(38.6922, 42.3255, 10.2684) |
| Luminance | 0.4232 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.48
Brownish Yellow
#C9B003
ΔE00 3.74
Mustard (survey)
#CEB301
ΔE00 4.32
Dark Yellow
#D5B60A
ΔE00 5.09
Olive Yellow
#C2B709
ΔE00 5.15
Mustard
#DBB42C
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4AE3B #3B51C4
analogous
#C46A3B #C4AE3B #95C43B
triadic
#C4AE3B #3BC4AE #AE3BC4
tetradic
#C4AE3B #3BC46A #3B51C4 #C43B95
square
#C4AE3B #3BC46A #3B51C4 #C43B95
split-complementary
#C4AE3B #3B95C4 #6A3BC4
monochromatic
#665A1F #95842D #C4AE3B #D2C16A #E0D599
Accessibility & contrast
On white
2.22
#C4AE3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#C4AE3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4AE3B
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4AE3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4AE3B | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA2A
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#D3A197
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c4ae3b; /* rgb */ color: rgb(196, 174, 59); /* oklch */ color: oklch(74.9% 0.133 98.2);
Tailwind
colors: {
custom: {
50: '#d9c578',
500: '#c4ae3b',
950: '#000000',
},
}SCSS
$custom: #c4ae3b; $custom-light: #d9c578; $custom-dark: #000000;
JSON
{
"hex": "#c4ae3b",
"rgb": {
"r": 196,
"g": 174,
"b": 59
},
"hsl": {
"h": 50.365,
"s": 53.725,
"l": 50
},
"oklch": {
"l": 0.74919,
"c": 0.13335,
"h": 98.2
},
"luminance": 0.42324
}Semantic roles & 50–950 ramp
primary
#C4AE3B
secondary
#8F99CC
accent
#62DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B