#C4AF3F#C4AF3F
#C4AF3F is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.131 H 98.5°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C4AF3F |
|---|---|
| RGB | rgb(196, 175, 63) |
| HSL | hsl(51, 53%, 51%) |
| HSV | hsv(51, 68%, 77%) |
| CMYK | cmyk(0%, 10.7%, 67.9%, 23.1%) |
| CIE-LAB | lab(71.39, -5.15, 57.80) |
| CIE-LCH | lch(71.39, 58.03, 95.09°) |
| OKLab | oklab(75.16% -0.0194 0.1299) |
| OKLCH | oklch(75.16% 0.131 98.5) |
| XYZ | xyz(38.9939, 42.7564, 10.9005) |
| Luminance | 0.4275 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.81
Brownish Yellow
#C9B003
ΔE00 4.09
Mustard (survey)
#CEB301
ΔE00 4.64
Olive Yellow
#C2B709
ΔE00 5.19
Dark Yellow
#D5B60A
ΔE00 5.36
Mustard
#DBB42C
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4AF3F #3F54C4
analogous
#C46C3F #C4AF3F #97C43F
triadic
#C4AF3F #3FC4AF #AF3FC4
tetradic
#C4AF3F #3FC46C #3F54C4 #C43F97
square
#C4AF3F #3FC46C #3F54C4 #C43F97
split-complementary
#C4AF3F #3F97C4 #6C3FC4
monochromatic
#685D20 #97872E #C4AF3F #D2C36E #E1D69D
Accessibility & contrast
On white
2.20
#C4AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#C4AF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4AF3F
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4AF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4AF3F | 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)
#C0AB30
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#D3A298
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c4af3f; /* rgb */ color: rgb(196, 175, 63); /* oklch */ color: oklch(75.2% 0.131 98.5);
Tailwind
colors: {
custom: {
50: '#d9c67a',
500: '#c4af3f',
950: '#000000',
},
}SCSS
$custom: #c4af3f; $custom-light: #d9c67a; $custom-dark: #000000;
JSON
{
"hex": "#c4af3f",
"rgb": {
"r": 196,
"g": 175,
"b": 63
},
"hsl": {
"h": 50.526,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.75162,
"c": 0.13133,
"h": 98.5
},
"luminance": 0.42755
}Semantic roles & 50–950 ramp
primary
#C4AF3F
secondary
#929BCD
accent
#62DC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C