#C3AB3A#C3AB3A
#C3AB3A is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.2% C 0.132 H 96.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C3AB3A |
|---|---|
| RGB | rgb(195, 171, 58) |
| HSL | hsl(49, 54%, 50%) |
| HSV | hsv(49, 70%, 76%) |
| CMYK | cmyk(0%, 12.3%, 70.3%, 23.5%) |
| CIE-LAB | lab(70.20, -3.75, 58.60) |
| CIE-LCH | lch(70.20, 58.72, 93.66°) |
| OKLab | oklab(74.19% -0.0159 0.1307) |
| OKLCH | oklch(74.19% 0.132 96.9) |
| XYZ | xyz(37.8341, 41.0353, 9.9299) |
| Luminance | 0.4103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.77
Brownish Yellow
#C9B003
ΔE00 4.05
Mustard (survey)
#CEB301
ΔE00 4.69
Dark Yellow
#D5B60A
ΔE00 5.42
Mustard
#DBB42C
ΔE00 5.43
Ocher
#BF9B0C
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3AB3A #3A52C3
analogous
#C3673A #C3AB3A #97C33A
triadic
#C3AB3A #3AC3AB #AB3AC3
tetradic
#C3AB3A #3AC367 #3A52C3 #C33A97
square
#C3AB3A #3AC367 #3A52C3 #C33A97
split-complementary
#C3AB3A #3A97C3 #673AC3
monochromatic
#65581E #94822C #C3AB3A #D2C068 #E0D397
Accessibility & contrast
On white
2.28
#C3AB3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#C3AB3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3AB3A
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3AB3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3AB3A | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#D29E94
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c3ab3a; /* rgb */ color: rgb(195, 171, 58); /* oklch */ color: oklch(74.2% 0.132 96.9);
Tailwind
colors: {
custom: {
50: '#d9c377',
500: '#c3ab3a',
950: '#000000',
},
}SCSS
$custom: #c3ab3a; $custom-light: #d9c377; $custom-dark: #000000;
JSON
{
"hex": "#c3ab3a",
"rgb": {
"r": 195,
"g": 171,
"b": 58
},
"hsl": {
"h": 49.489,
"s": 54.15,
"l": 49.608
},
"oklch": {
"l": 0.74187,
"c": 0.13169,
"h": 96.9
},
"luminance": 0.41033
}Semantic roles & 50–950 ramp
primary
#C3AB3A
secondary
#8D98CC
accent
#64DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B