#C5AD3F#C5AD3F
#C5AD3F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.8% C 0.130 H 96.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AD3F |
|---|---|
| RGB | rgb(197, 173, 63) |
| HSL | hsl(49, 54%, 51%) |
| HSV | hsv(49, 68%, 77%) |
| CMYK | cmyk(0%, 12.2%, 68%, 22.7%) |
| CIE-LAB | lab(70.95, -3.67, 57.38) |
| CIE-LCH | lch(70.95, 57.50, 93.66°) |
| OKLab | oklab(74.84% -0.0152 0.129) |
| OKLCH | oklch(74.84% 0.13 96.7) |
| XYZ | xyz(38.8686, 42.1183, 10.7840) |
| Luminance | 0.4212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.14
Brownish Yellow
#C9B003
ΔE00 4.23
Mustard (survey)
#CEB301
ΔE00 4.75
Mustard
#DBB42C
ΔE00 5.24
Dark Yellow
#D5B60A
ΔE00 5.36
Desert
#CCAD60
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AD3F #3F57C5
analogous
#C56A3F #C5AD3F #9AC53F
triadic
#C5AD3F #3FC5AD #AD3FC5
tetradic
#C5AD3F #3FC56A #3F57C5 #C53F9A
square
#C5AD3F #3FC56A #3F57C5 #C53F9A
split-complementary
#C5AD3F #3F9AC5 #6A3FC5
monochromatic
#6A5C20 #99862E #C5AD3F #D3C16E #E1D59D
Accessibility & contrast
On white
2.23
#C5AD3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#C5AD3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AD3F
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AD3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AD3F | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA930
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#D4A096
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c5ad3f; /* rgb */ color: rgb(197, 173, 63); /* oklch */ color: oklch(74.8% 0.130 96.7);
Tailwind
colors: {
custom: {
50: '#dac57a',
500: '#c5ad3f',
950: '#000000',
},
}SCSS
$custom: #c5ad3f; $custom-light: #dac57a; $custom-dark: #000000;
JSON
{
"hex": "#c5ad3f",
"rgb": {
"r": 197,
"g": 173,
"b": 63
},
"hsl": {
"h": 49.254,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.74838,
"c": 0.12987,
"h": 96.7
},
"luminance": 0.42116
}Semantic roles & 50–950 ramp
primary
#C5AD3F
secondary
#929DCE
accent
#65DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C