#C5AC3F#C5AC3F
#C5AC3F is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.6% C 0.129 H 96.1°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AC3F |
|---|---|
| RGB | rgb(197, 172, 63) |
| HSL | hsl(49, 54%, 51%) |
| HSV | hsv(49, 68%, 77%) |
| CMYK | cmyk(0%, 12.7%, 68%, 22.7%) |
| CIE-LAB | lab(70.69, -3.14, 57.11) |
| CIE-LCH | lch(70.69, 57.20, 93.15°) |
| OKLab | oklab(74.63% -0.0137 0.1284) |
| OKLCH | oklch(74.63% 0.129 96.1) |
| XYZ | xyz(38.6775, 41.7362, 10.7203) |
| Luminance | 0.4173 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.33
Brownish Yellow
#C9B003
ΔE00 4.39
Mustard (survey)
#CEB301
ΔE00 4.91
Mustard
#DBB42C
ΔE00 5.19
Desert
#CCAD60
ΔE00 5.36
Dark Yellow
#D5B60A
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AC3F #3F58C5
analogous
#C5693F #C5AC3F #9BC53F
triadic
#C5AC3F #3FC5AC #AC3FC5
tetradic
#C5AC3F #3FC569 #3F58C5 #C53F9B
square
#C5AC3F #3FC569 #3F58C5 #C53F9B
split-complementary
#C5AC3F #3F9BC5 #693FC5
monochromatic
#6A5C20 #99852E #C5AC3F #D3C06E #E1D59D
Accessibility & contrast
On white
2.25
#C5AC3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#C5AC3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AC3F
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AC3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AC3F | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#D49F96
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c5ac3f; /* rgb */ color: rgb(197, 172, 63); /* oklch */ color: oklch(74.6% 0.129 96.1);
Tailwind
colors: {
custom: {
50: '#dac47a',
500: '#c5ac3f',
950: '#000000',
},
}SCSS
$custom: #c5ac3f; $custom-light: #dac47a; $custom-dark: #000000;
JSON
{
"hex": "#c5ac3f",
"rgb": {
"r": 197,
"g": 172,
"b": 63
},
"hsl": {
"h": 48.806,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.74629,
"c": 0.12912,
"h": 96.1
},
"luminance": 0.41734
}Semantic roles & 50–950 ramp
primary
#C5AC3F
secondary
#929DCE
accent
#66DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B