#C5AA3F#C5AA3F
#C5AA3F is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.2% C 0.128 H 94.8°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AA3F |
|---|---|
| RGB | rgb(197, 170, 63) |
| HSL | hsl(48, 54%, 51%) |
| HSV | hsv(48, 68%, 77%) |
| CMYK | cmyk(0%, 13.7%, 68%, 22.7%) |
| CIE-LAB | lab(70.16, -2.08, 56.57) |
| CIE-LCH | lch(70.16, 56.61, 92.11°) |
| OKLab | oklab(74.21% -0.0107 0.1272) |
| OKLCH | oklch(74.21% 0.128 94.8) |
| XYZ | xyz(38.2998, 40.9807, 10.5944) |
| Luminance | 0.4098 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.80
Muddy Yellow
#BFAC05
ΔE00 4.80
Desert
#CCAD60
ΔE00 4.98
Mustard
#DBB42C
ΔE00 5.19
Ocher
#BF9B0C
ΔE00 5.30
Mustard (survey)
#CEB301
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AA3F #3F5AC5
analogous
#C5673F #C5AA3F #9DC53F
triadic
#C5AA3F #3FC5AA #AA3FC5
tetradic
#C5AA3F #3FC567 #3F5AC5 #C53F9D
square
#C5AA3F #3FC567 #3F5AC5 #C53F9D
split-complementary
#C5AA3F #3F9DC5 #673FC5
monochromatic
#6A5B20 #99832E #C5AA3F #D3BF6E #E1D49D
Accessibility & contrast
On white
2.28
#C5AA3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#C5AA3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AA3F
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AA3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AA3F | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA731
Deuteranopia (green-blind)
#C2AF45
Tritanopia (blue-blind)
#D49D94
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c5aa3f; /* rgb */ color: rgb(197, 170, 63); /* oklch */ color: oklch(74.2% 0.128 94.8);
Tailwind
colors: {
custom: {
50: '#dac27a',
500: '#c5aa3f',
950: '#000000',
},
}SCSS
$custom: #c5aa3f; $custom-light: #dac27a; $custom-dark: #000000;
JSON
{
"hex": "#c5aa3f",
"rgb": {
"r": 197,
"g": 170,
"b": 63
},
"hsl": {
"h": 47.91,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.74213,
"c": 0.12769,
"h": 94.8
},
"luminance": 0.40979
}Semantic roles & 50–950 ramp
primary
#C5AA3F
secondary
#929ECE
accent
#68DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B