#C3A231#C3A231
#C3A231 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.3% C 0.131 H 91.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C3A231 |
|---|---|
| RGB | rgb(195, 162, 49) |
| HSL | hsl(46, 60%, 48%) |
| HSV | hsv(46, 75%, 76%) |
| CMYK | cmyk(0%, 16.9%, 74.9%, 23.5%) |
| CIE-LAB | lab(67.77, 0.61, 59.70) |
| CIE-LCH | lch(67.77, 59.71, 89.42°) |
| OKLab | oklab(72.25% -0.0045 0.1314) |
| OKLCH | oklch(72.25% 0.131 91.9) |
| XYZ | xyz(35.9824, 37.6667, 8.2803) |
| Luminance | 0.3766 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.83
Ocre
#C69C04
ΔE00 3.41
Yellow Ochre
#CB9D06
ΔE00 4.03
Dark Gold
#B59410
ΔE00 4.46
Yellow Brown
#B79400
ΔE00 4.58
Brown Yellow
#B29705
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3A231 #3152C3
analogous
#C35931 #C3A231 #9BC331
triadic
#C3A231 #31C3A2 #A231C3
tetradic
#C3A231 #31C359 #3152C3 #C3319B
square
#C3A231 #31C359 #3152C3 #C3319B
split-complementary
#C3A231 #319BC3 #5931C3
monochromatic
#615118 #927925 #C3A231 #D6BA5B #E2CF8C
Accessibility & contrast
On white
2.46
#C3A231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#C3A231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3A231
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3A231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3A231 | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A01E
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#D3948C
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c3a231; /* rgb */ color: rgb(195, 162, 49); /* oklch */ color: oklch(72.3% 0.131 91.9);
Tailwind
colors: {
custom: {
50: '#d9bd71',
500: '#c3a231',
950: '#000000',
},
}SCSS
$custom: #c3a231; $custom-light: #d9bd71; $custom-dark: #000000;
JSON
{
"hex": "#c3a231",
"rgb": {
"r": 195,
"g": 162,
"b": 49
},
"hsl": {
"h": 46.438,
"s": 59.836,
"l": 47.843
},
"oklch": {
"l": 0.7225,
"c": 0.13145,
"h": 91.9
},
"luminance": 0.37665
}Semantic roles & 50–950 ramp
primary
#C3A231
secondary
#8394CC
accent
#69E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B