#C2A431#C2A431
#C2A431 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.6% C 0.133 H 93.8°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A431 |
|---|---|
| RGB | rgb(194, 164, 49) |
| HSL | hsl(48, 60%, 48%) |
| HSV | hsv(48, 75%, 76%) |
| CMYK | cmyk(0%, 15.5%, 74.7%, 23.9%) |
| CIE-LAB | lab(68.20, -0.90, 60.08) |
| CIE-LCH | lch(68.20, 60.08, 90.86°) |
| OKLab | oklab(72.56% -0.0087 0.1322) |
| OKLCH | oklch(72.56% 0.133 93.8) |
| XYZ | xyz(36.0799, 38.2441, 8.3866) |
| Luminance | 0.3824 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.33
Ocre
#C69C04
ΔE00 4.13
Brown Yellow
#B29705
ΔE00 4.58
Yellow Ochre
#CB9D06
ΔE00 4.82
Burnt Yellow
#D5AB09
ΔE00 4.86
Dark Gold
#B59410
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A431 #314FC2
analogous
#C25B31 #C2A431 #98C231
triadic
#C2A431 #31C2A4 #A431C2
tetradic
#C2A431 #31C25B #314FC2 #C23198
square
#C2A431 #31C25B #314FC2 #C23198
split-complementary
#C2A431 #3198C2 #5B31C2
monochromatic
#605118 #917B25 #C2A431 #D6BC5B #E2D08C
Accessibility & contrast
On white
2.43
#C2A431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#C2A431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A431
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A431 | 1.00 | 2.43 | 8.65 | 8.65 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A11D
Deuteranopia (green-blind)
#BDAA38
Tritanopia (blue-blind)
#D2978E
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c2a431; /* rgb */ color: rgb(194, 164, 49); /* oklch */ color: oklch(72.6% 0.133 93.8);
Tailwind
colors: {
custom: {
50: '#d9be71',
500: '#c2a431',
950: '#000000',
},
}SCSS
$custom: #c2a431; $custom-light: #d9be71; $custom-dark: #000000;
JSON
{
"hex": "#c2a431",
"rgb": {
"r": 194,
"g": 164,
"b": 49
},
"hsl": {
"h": 47.586,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.72563,
"c": 0.1325,
"h": 93.8
},
"luminance": 0.38242
}Semantic roles & 50–950 ramp
primary
#C2A431
secondary
#8392CC
accent
#66E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B