#C5A74B#C5A74B
#C5A74B is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.7% C 0.116 H 91.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A74B |
|---|---|
| RGB | rgb(197, 167, 75) |
| HSL | hsl(45, 51%, 53%) |
| HSV | hsv(45, 62%, 77%) |
| CMYK | cmyk(0%, 15.2%, 61.9%, 22.7%) |
| CIE-LAB | lab(69.48, 0.26, 50.51) |
| CIE-LCH | lch(69.48, 50.51, 89.70°) |
| OKLab | oklab(73.71% -0.0025 0.1162) |
| OKLCH | oklch(73.71% 0.116 91.2) |
| XYZ | xyz(38.1165, 40.0178, 12.3718) |
| Luminance | 0.4002 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.15
Sandy Brown
#C4A661
ΔE00 3.92
Sand Brown
#CBA560
ΔE00 5.21
Camel (survey)
#C69F59
ΔE00 5.50
Tan (survey)
#D1B26F
ΔE00 5.58
Ocher
#BF9B0C
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A74B #4B69C5
analogous
#C56A4B #C5A74B #A6C54B
triadic
#C5A74B #4BC5A7 #A74BC5
tetradic
#C5A74B #4BC56A #4B69C5 #C54BA6
square
#C5A74B #4BC56A #4B69C5 #C54BA6
split-complementary
#C5A74B #4BA6C5 #6A4BC5
monochromatic
#715E24 #9F8533 #C5A74B #D4BE79 #E3D4A8
Accessibility & contrast
On white
2.33
#C5A74B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#C5A74B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A74B
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A74B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A74B | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A541
Deuteranopia (green-blind)
#BFAD4F
Tritanopia (blue-blind)
#D49B93
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c5a74b; /* rgb */ color: rgb(197, 167, 75); /* oklch */ color: oklch(73.7% 0.116 91.2);
Tailwind
colors: {
custom: {
50: '#dac081',
500: '#c5a74b',
950: '#000000',
},
}SCSS
$custom: #c5a74b; $custom-light: #dac081; $custom-dark: #000000;
JSON
{
"hex": "#c5a74b",
"rgb": {
"r": 197,
"g": 167,
"b": 75
},
"hsl": {
"h": 45.246,
"s": 51.261,
"l": 53.333
},
"oklch": {
"l": 0.73709,
"c": 0.11625,
"h": 91.2
},
"luminance": 0.40016
}Semantic roles & 50–950 ramp
primary
#C5A74B
secondary
#9CA9D0
accent
#70DB4D
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120A
muted
#83817C