#C5AC45#C5AC45
#C5AC45 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.125 H 95.5°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AC45 |
|---|---|
| RGB | rgb(197, 172, 69) |
| HSL | hsl(48, 52%, 52%) |
| HSV | hsv(48, 65%, 77%) |
| CMYK | cmyk(0%, 12.7%, 65%, 22.7%) |
| CIE-LAB | lab(70.74, -2.79, 54.59) |
| CIE-LCH | lch(70.74, 54.67, 92.92°) |
| OKLab | oklab(74.68% -0.012 0.124) |
| OKLCH | oklch(74.68% 0.125 95.5) |
| XYZ | xyz(38.8545, 41.8070, 11.6520) |
| Luminance | 0.4180 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.70
Muddy Yellow
#BFAC05
ΔE00 5.03
Brownish Yellow
#C9B003
ΔE00 5.09
Mustard
#DBB42C
ΔE00 5.52
Mustard (survey)
#CEB301
ΔE00 5.57
Sandy Brown
#C4A661
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AC45 #455EC5
analogous
#C56C45 #C5AC45 #9EC545
triadic
#C5AC45 #45C5AC #AC45C5
tetradic
#C5AC45 #45C56C #455EC5 #C5459E
square
#C5AC45 #45C56C #455EC5 #C5459E
split-complementary
#C5AC45 #459EC5 #6C45C5
monochromatic
#6D5F22 #9C8731 #C5AC45 #D4C174 #E2D6A2
Accessibility & contrast
On white
2.24
#C5AC45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#C5AC45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AC45
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AC45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AC45 | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA939
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#D49F96
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c5ac45; /* rgb */ color: rgb(197, 172, 69); /* oklch */ color: oklch(74.7% 0.125 95.5);
Tailwind
colors: {
custom: {
50: '#dac47d',
500: '#c5ac45',
950: '#000000',
},
}SCSS
$custom: #c5ac45; $custom-light: #dac47d; $custom-dark: #000000;
JSON
{
"hex": "#c5ac45",
"rgb": {
"r": 197,
"g": 172,
"b": 69
},
"hsl": {
"h": 48.281,
"s": 52.459,
"l": 52.157
},
"oklch": {
"l": 0.74684,
"c": 0.12461,
"h": 95.5
},
"luminance": 0.41805
}Semantic roles & 50–950 ramp
primary
#C5AC45
secondary
#97A2CF
accent
#68DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C