#C2A532#C2A532
#C2A532 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.8% C 0.133 H 94.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A532 |
|---|---|
| RGB | rgb(194, 165, 50) |
| HSL | hsl(48, 59%, 48%) |
| HSV | hsv(48, 74%, 76%) |
| CMYK | cmyk(0%, 14.9%, 74.2%, 23.9%) |
| CIE-LAB | lab(68.47, -1.39, 59.96) |
| CIE-LCH | lch(68.47, 59.98, 91.33°) |
| OKLab | oklab(72.78% -0.01 0.1322) |
| OKLCH | oklch(72.78% 0.133 94.3) |
| XYZ | xyz(36.2809, 38.6119, 8.5589) |
| Luminance | 0.3861 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.65
Ocre
#C69C04
ΔE00 4.46
Muddy Yellow
#BFAC05
ΔE00 4.62
Brown Yellow
#B29705
ΔE00 4.74
Brownish Yellow
#C9B003
ΔE00 4.78
Burnt Yellow
#D5AB09
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A532 #324FC2
analogous
#C25D32 #C2A532 #97C232
triadic
#C2A532 #32C2A5 #A532C2
tetradic
#C2A532 #32C25D #324FC2 #C23297
square
#C2A532 #32C25D #324FC2 #C23297
split-complementary
#C2A532 #3297C2 #5D32C2
monochromatic
#615219 #917C25 #C2A532 #D5BD5C #E2D18D
Accessibility & contrast
On white
2.41
#C2A532 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#C2A532 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A532
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A532 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A532 | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A21F
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#D2988E
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c2a532; /* rgb */ color: rgb(194, 165, 50); /* oklch */ color: oklch(72.8% 0.133 94.3);
Tailwind
colors: {
custom: {
50: '#d8bf72',
500: '#c2a532',
950: '#000000',
},
}SCSS
$custom: #c2a532; $custom-light: #d8bf72; $custom-dark: #000000;
JSON
{
"hex": "#c2a532",
"rgb": {
"r": 194,
"g": 165,
"b": 50
},
"hsl": {
"h": 47.917,
"s": 59.016,
"l": 47.843
},
"oklch": {
"l": 0.72778,
"c": 0.13254,
"h": 94.3
},
"luminance": 0.3861
}Semantic roles & 50–950 ramp
primary
#C2A532
secondary
#8492CC
accent
#65E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B