#C2A52A#C2A52A
#C2A52A is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.137 H 94.9°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A52A |
|---|---|
| RGB | rgb(194, 165, 42) |
| HSL | hsl(49, 64%, 46%) |
| HSV | hsv(49, 78%, 76%) |
| CMYK | cmyk(0%, 14.9%, 78.4%, 23.9%) |
| CIE-LAB | lab(68.42, -1.72, 62.75) |
| CIE-LCH | lch(68.42, 62.77, 91.57°) |
| OKLab | oklab(72.73% -0.0117 0.1365) |
| OKLCH | oklch(72.73% 0.137 94.9) |
| XYZ | xyz(36.1232, 38.5488, 7.7280) |
| Luminance | 0.3855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.40
Muddy Yellow
#BFAC05
ΔE00 4.08
Brownish Yellow
#C9B003
ΔE00 4.23
Ocre
#C69C04
ΔE00 4.26
Brown Yellow
#B29705
ΔE00 4.50
Burnt Yellow
#D5AB09
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A52A #2A47C2
analogous
#C2592A #C2A52A #93C22A
triadic
#C2A52A #2AC2A5 #A52AC2
tetradic
#C2A52A #2AC259 #2A47C2 #C22A93
square
#C2A52A #2AC259 #2A47C2 #C22A93
split-complementary
#C2A52A #2A93C2 #592AC2
monochromatic
#5D4F14 #907A1F #C2A52A #D9BF50 #E4D182
Accessibility & contrast
On white
2.41
#C2A52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#C2A52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A52A
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A52A | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20D
Deuteranopia (green-blind)
#BEAB32
Tritanopia (blue-blind)
#D2978E
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c2a52a; /* rgb */ color: rgb(194, 165, 42); /* oklch */ color: oklch(72.7% 0.137 94.9);
Tailwind
colors: {
custom: {
50: '#d9bf6e',
500: '#c2a52a',
950: '#000000',
},
}SCSS
$custom: #c2a52a; $custom-light: #d9bf6e; $custom-dark: #000000;
JSON
{
"hex": "#c2a52a",
"rgb": {
"r": 194,
"g": 165,
"b": 42
},
"hsl": {
"h": 48.553,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.72727,
"c": 0.137,
"h": 94.9
},
"luminance": 0.38547
}Semantic roles & 50–950 ramp
primary
#C2A52A
secondary
#7B8BCD
accent
#60E740
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B