#C3AB40#C3AB40
#C3AB40 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.127 H 96.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C3AB40 |
|---|---|
| RGB | rgb(195, 171, 64) |
| HSL | hsl(49, 52%, 51%) |
| HSV | hsv(49, 67%, 76%) |
| CMYK | cmyk(0%, 12.3%, 67.2%, 23.5%) |
| CIE-LAB | lab(70.25, -3.42, 56.17) |
| CIE-LCH | lch(70.25, 56.28, 93.48°) |
| OKLab | oklab(74.24% -0.0143 0.1266) |
| OKLCH | oklch(74.24% 0.127 96.4) |
| XYZ | xyz(37.9958, 41.1000, 10.7812) |
| Luminance | 0.4110 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.43
Brownish Yellow
#C9B003
ΔE00 4.69
Mustard (survey)
#CEB301
ΔE00 5.27
Desert
#CCAD60
ΔE00 5.35
Mustard
#DBB42C
ΔE00 5.67
Ocher
#BF9B0C
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3AB40 #4058C3
analogous
#C36940 #C3AB40 #99C340
triadic
#C3AB40 #40C3AB #AB40C3
tetradic
#C3AB40 #40C369 #4058C3 #C34099
square
#C3AB40 #40C369 #4058C3 #C34099
split-complementary
#C3AB40 #4099C3 #6940C3
monochromatic
#685B21 #97842F #C3AB40 #D2BF6F #E0D49D
Accessibility & contrast
On white
2.28
#C3AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.22
#C3AB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3AB40
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3AB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3AB40 | 1.00 | 2.28 | 9.22 | 9.22 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#D29E95
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c3ab40; /* rgb */ color: rgb(195, 171, 64); /* oklch */ color: oklch(74.2% 0.127 96.4);
Tailwind
colors: {
custom: {
50: '#d9c37a',
500: '#c3ab40',
950: '#000000',
},
}SCSS
$custom: #c3ab40; $custom-light: #d9c37a; $custom-dark: #000000;
JSON
{
"hex": "#c3ab40",
"rgb": {
"r": 195,
"g": 171,
"b": 64
},
"hsl": {
"h": 49.008,
"s": 52.191,
"l": 50.784
},
"oklch": {
"l": 0.74237,
"c": 0.12744,
"h": 96.4
},
"luminance": 0.41098
}Semantic roles & 50–950 ramp
primary
#C3AB40
secondary
#929DCC
accent
#66DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C