#C5AF3F#C5AF3F
#C5AF3F is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.131 H 98.0°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AF3F |
|---|---|
| RGB | rgb(197, 175, 63) |
| HSL | hsl(50, 54%, 51%) |
| HSV | hsv(50, 68%, 77%) |
| CMYK | cmyk(0%, 11.2%, 68%, 22.7%) |
| CIE-LAB | lab(71.48, -4.72, 57.93) |
| CIE-LCH | lch(71.48, 58.12, 94.66°) |
| OKLab | oklab(75.26% -0.0182 0.1301) |
| OKLCH | oklch(75.26% 0.131 98) |
| XYZ | xyz(39.2549, 42.8910, 10.9128) |
| Luminance | 0.4289 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.87
Brownish Yellow
#C9B003
ΔE00 4.02
Mustard (survey)
#CEB301
ΔE00 4.53
Dark Yellow
#D5B60A
ΔE00 5.20
Olive Yellow
#C2B709
ΔE00 5.32
Mustard
#DBB42C
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AF3F #3F55C5
analogous
#C56C3F #C5AF3F #98C53F
triadic
#C5AF3F #3FC5AF #AF3FC5
tetradic
#C5AF3F #3FC56C #3F55C5 #C53F98
square
#C5AF3F #3FC56C #3F55C5 #C53F98
split-complementary
#C5AF3F #3F98C5 #6C3FC5
monochromatic
#6A5E20 #99872E #C5AF3F #D3C36E #E1D69D
Accessibility & contrast
On white
2.19
#C5AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#C5AF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AF3F
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AF3F | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB30
Deuteranopia (green-blind)
#C6B245
Tritanopia (blue-blind)
#D4A298
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c5af3f; /* rgb */ color: rgb(197, 175, 63); /* oklch */ color: oklch(75.3% 0.131 98.0);
Tailwind
colors: {
custom: {
50: '#dac67a',
500: '#c5af3f',
950: '#000000',
},
}SCSS
$custom: #c5af3f; $custom-light: #dac67a; $custom-dark: #000000;
JSON
{
"hex": "#c5af3f",
"rgb": {
"r": 197,
"g": 175,
"b": 63
},
"hsl": {
"h": 50.149,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.75256,
"c": 0.13139,
"h": 98
},
"luminance": 0.42889
}Semantic roles & 50–950 ramp
primary
#C5AF3F
secondary
#929CCE
accent
#63DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C