#C2A545#C2A545
#C2A545 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.9% C 0.119 H 92.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A545 |
|---|---|
| RGB | rgb(194, 165, 69) |
| HSL | hsl(46, 51%, 52%) |
| HSV | hsv(46, 64%, 76%) |
| CMYK | cmyk(0%, 14.9%, 64.4%, 23.9%) |
| CIE-LAB | lab(68.61, -0.36, 52.22) |
| CIE-LCH | lch(68.61, 52.23, 90.40°) |
| OKLab | oklab(72.94% -0.0048 0.1191) |
| OKLCH | oklch(72.94% 0.119 92.3) |
| XYZ | xyz(36.7792, 38.8113, 11.1831) |
| Luminance | 0.3881 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.08
Sandy Brown
#C4A661
ΔE00 4.59
Ocher
#BF9B0C
ΔE00 5.01
Ocre
#C69C04
ΔE00 5.60
Sand Brown
#CBA560
ΔE00 5.93
Camel (survey)
#C69F59
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A545 #4562C2
analogous
#C26745 #C2A545 #A1C245
triadic
#C2A545 #45C2A5 #A545C2
tetradic
#C2A545 #45C267 #4562C2 #C245A1
square
#C2A545 #45C267 #4562C2 #C245A1
split-complementary
#C2A545 #45A1C2 #6745C2
monochromatic
#6A5923 #988032 #C2A545 #D1BB73 #E0D2A1
Accessibility & contrast
On white
2.40
#C2A545 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#C2A545 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A545
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A545 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A545 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A23A
Deuteranopia (green-blind)
#BDAB49
Tritanopia (blue-blind)
#D19990
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c2a545; /* rgb */ color: rgb(194, 165, 69); /* oklch */ color: oklch(72.9% 0.119 92.3);
Tailwind
colors: {
custom: {
50: '#d8bf7d',
500: '#c2a545',
950: '#000000',
},
}SCSS
$custom: #c2a545; $custom-light: #d8bf7d; $custom-dark: #000000;
JSON
{
"hex": "#c2a545",
"rgb": {
"r": 194,
"g": 165,
"b": 69
},
"hsl": {
"h": 46.08,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.72939,
"c": 0.11919,
"h": 92.3
},
"luminance": 0.38809
}Semantic roles & 50–950 ramp
primary
#C2A545
secondary
#96A3CD
accent
#6EDA4E
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C