#C2A330#C2A330
#C2A330 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.3% C 0.132 H 93.2°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A330 |
|---|---|
| RGB | rgb(194, 163, 48) |
| HSL | hsl(47, 60%, 47%) |
| HSV | hsv(47, 75%, 76%) |
| CMYK | cmyk(0%, 16%, 75.3%, 23.9%) |
| CIE-LAB | lab(67.93, -0.41, 60.19) |
| CIE-LCH | lch(67.93, 60.19, 90.39°) |
| OKLab | oklab(72.35% -0.0074 0.1323) |
| OKLCH | oklch(72.35% 0.132 93.2) |
| XYZ | xyz(35.8808, 37.8792, 8.2173) |
| Luminance | 0.3788 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.03
Ocre
#C69C04
ΔE00 3.80
Brown Yellow
#B29705
ΔE00 4.44
Yellow Ochre
#CB9D06
ΔE00 4.50
Dark Gold
#B59410
ΔE00 4.62
Yellow Brown
#B79400
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A330 #304FC2
analogous
#C25A30 #C2A330 #98C230
triadic
#C2A330 #30C2A3 #A330C2
tetradic
#C2A330 #30C25A #304FC2 #C23098
square
#C2A330 #30C25A #304FC2 #C23098
split-complementary
#C2A330 #3098C2 #5A30C2
monochromatic
#605118 #917A24 #C2A330 #D6BB59 #E2CF8A
Accessibility & contrast
On white
2.45
#C2A330 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.58
#C2A330 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A330
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A330 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A330 | 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)
#B5A01C
Deuteranopia (green-blind)
#BDA937
Tritanopia (blue-blind)
#D2968D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c2a330; /* rgb */ color: rgb(194, 163, 48); /* oklch */ color: oklch(72.3% 0.132 93.2);
Tailwind
colors: {
custom: {
50: '#d9bd71',
500: '#c2a330',
950: '#000000',
},
}SCSS
$custom: #c2a330; $custom-light: #d9bd71; $custom-dark: #000000;
JSON
{
"hex": "#c2a330",
"rgb": {
"r": 194,
"g": 163,
"b": 48
},
"hsl": {
"h": 47.26,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.72349,
"c": 0.13246,
"h": 93.2
},
"luminance": 0.37877
}Semantic roles & 50–950 ramp
primary
#C2A330
secondary
#8291CC
accent
#66E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B