#C2A333#C2A333
#C2A333 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.4% C 0.131 H 92.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A333 |
|---|---|
| RGB | rgb(194, 163, 51) |
| HSL | hsl(47, 58%, 48%) |
| HSV | hsv(47, 74%, 76%) |
| CMYK | cmyk(0%, 16%, 73.7%, 23.9%) |
| CIE-LAB | lab(67.95, -0.28, 59.08) |
| CIE-LCH | lch(67.95, 59.08, 90.27°) |
| OKLab | oklab(72.37% -0.0067 0.1305) |
| OKLCH | oklch(72.37% 0.131 92.9) |
| XYZ | xyz(35.9448, 37.9048, 8.5544) |
| Luminance | 0.3790 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.20
Ocre
#C69C04
ΔE00 3.94
Brown Yellow
#B29705
ΔE00 4.58
Yellow Ochre
#CB9D06
ΔE00 4.60
Dark Gold
#B59410
ΔE00 4.70
Yellow Brown
#B79400
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A333 #3352C2
analogous
#C25B33 #C2A333 #99C233
triadic
#C2A333 #33C2A3 #A333C2
tetradic
#C2A333 #33C25B #3352C2 #C23399
square
#C2A333 #33C25B #3352C2 #C23399
split-complementary
#C2A333 #3399C2 #5B33C2
monochromatic
#61521A #927A26 #C2A333 #D5BB5E #E1CF8E
Accessibility & contrast
On white
2.45
#C2A333 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.58
#C2A333 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A333
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A333 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A333 | 1.00 | 2.45 | 8.58 | 8.58 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A021
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#D2968D
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c2a333; /* rgb */ color: rgb(194, 163, 51); /* oklch */ color: oklch(72.4% 0.131 92.9);
Tailwind
colors: {
custom: {
50: '#d8bd72',
500: '#c2a333',
950: '#000000',
},
}SCSS
$custom: #c2a333; $custom-light: #d8bd72; $custom-dark: #000000;
JSON
{
"hex": "#c2a333",
"rgb": {
"r": 194,
"g": 163,
"b": 51
},
"hsl": {
"h": 46.993,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.7237,
"c": 0.13066,
"h": 92.9
},
"luminance": 0.37903
}Semantic roles & 50–950 ramp
primary
#C2A333
secondary
#8594CC
accent
#68E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B