#C2A533#C2A533
#C2A533 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.8% C 0.132 H 94.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A533 |
|---|---|
| RGB | rgb(194, 165, 51) |
| HSL | hsl(48, 58%, 48%) |
| HSV | hsv(48, 74%, 76%) |
| CMYK | cmyk(0%, 14.9%, 73.7%, 23.9%) |
| CIE-LAB | lab(68.48, -1.34, 59.59) |
| CIE-LCH | lch(68.48, 59.61, 91.29°) |
| OKLab | oklab(72.79% -0.0098 0.1316) |
| OKLCH | oklch(72.79% 0.132 94.2) |
| XYZ | xyz(36.3027, 38.6207, 8.6737) |
| Luminance | 0.3862 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.69
Ocre
#C69C04
ΔE00 4.50
Muddy Yellow
#BFAC05
ΔE00 4.69
Brown Yellow
#B29705
ΔE00 4.78
Brownish Yellow
#C9B003
ΔE00 4.86
Burnt Yellow
#D5AB09
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A533 #3350C2
analogous
#C25D33 #C2A533 #97C233
triadic
#C2A533 #33C2A5 #A533C2
tetradic
#C2A533 #33C25D #3350C2 #C23397
square
#C2A533 #33C25D #3350C2 #C23397
split-complementary
#C2A533 #3397C2 #5D33C2
monochromatic
#61531A #927C26 #C2A533 #D5BC5E #E1D08E
Accessibility & contrast
On white
2.41
#C2A533 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#C2A533 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A533
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A533 | 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)
#B7A220
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#D2988F
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c2a533; /* rgb */ color: rgb(194, 165, 51); /* oklch */ color: oklch(72.8% 0.132 94.2);
Tailwind
colors: {
custom: {
50: '#d8bf72',
500: '#c2a533',
950: '#000000',
},
}SCSS
$custom: #c2a533; $custom-light: #d8bf72; $custom-dark: #000000;
JSON
{
"hex": "#c2a533",
"rgb": {
"r": 194,
"g": 165,
"b": 51
},
"hsl": {
"h": 47.832,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.72785,
"c": 0.13193,
"h": 94.2
},
"luminance": 0.38619
}Semantic roles & 50–950 ramp
primary
#C2A533
secondary
#8593CC
accent
#66E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B