#C3AB37#C3AB37
#C3AB37 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.2% C 0.134 H 97.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C3AB37 |
|---|---|
| RGB | rgb(195, 171, 55) |
| HSL | hsl(50, 56%, 49%) |
| HSV | hsv(50, 72%, 76%) |
| CMYK | cmyk(0%, 12.3%, 71.8%, 23.5%) |
| CIE-LAB | lab(70.18, -3.90, 59.76) |
| CIE-LCH | lch(70.18, 59.88, 93.73°) |
| OKLab | oklab(74.16% -0.0167 0.1326) |
| OKLCH | oklch(74.16% 0.134 97.2) |
| XYZ | xyz(37.7600, 41.0057, 9.5397) |
| Luminance | 0.4100 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.47
Brownish Yellow
#C9B003
ΔE00 3.75
Mustard (survey)
#CEB301
ΔE00 4.42
Dark Yellow
#D5B60A
ΔE00 5.20
Mustard
#DBB42C
ΔE00 5.34
Ocher
#BF9B0C
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3AB37 #374FC3
analogous
#C36537 #C3AB37 #95C337
triadic
#C3AB37 #37C3AB #AB37C3
tetradic
#C3AB37 #37C365 #374FC3 #C33795
square
#C3AB37 #37C365 #374FC3 #C33795
split-complementary
#C3AB37 #3795C3 #6537C3
monochromatic
#64571C #93812A #C3AB37 #D3C064 #E1D494
Accessibility & contrast
On white
2.28
#C3AB37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#C3AB37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3AB37
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3AB37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3AB37 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C2AF3E
Tritanopia (blue-blind)
#D29E94
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c3ab37; /* rgb */ color: rgb(195, 171, 55); /* oklch */ color: oklch(74.2% 0.134 97.2);
Tailwind
colors: {
custom: {
50: '#d9c375',
500: '#c3ab37',
950: '#000000',
},
}SCSS
$custom: #c3ab37; $custom-light: #d9c375; $custom-dark: #000000;
JSON
{
"hex": "#c3ab37",
"rgb": {
"r": 195,
"g": 171,
"b": 55
},
"hsl": {
"h": 49.714,
"s": 56,
"l": 49.02
},
"oklch": {
"l": 0.74164,
"c": 0.13368,
"h": 97.2
},
"luminance": 0.41004
}Semantic roles & 50–950 ramp
primary
#C3AB37
secondary
#8A95CC
accent
#62DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B