#C3AB3F#C3AB3F
#C3AB3F is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.128 H 96.5°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C3AB3F |
|---|---|
| RGB | rgb(195, 171, 63) |
| HSL | hsl(49, 52%, 51%) |
| HSV | hsv(49, 68%, 76%) |
| CMYK | cmyk(0%, 12.3%, 67.7%, 23.5%) |
| CIE-LAB | lab(70.24, -3.48, 56.59) |
| CIE-LCH | lch(70.24, 56.69, 93.52°) |
| OKLab | oklab(74.23% -0.0146 0.1273) |
| OKLCH | oklch(74.23% 0.128 96.5) |
| XYZ | xyz(37.9676, 41.0887, 10.6327) |
| Luminance | 0.4109 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.31
Brownish Yellow
#C9B003
ΔE00 4.58
Mustard (survey)
#CEB301
ΔE00 5.17
Desert
#CCAD60
ΔE00 5.45
Mustard
#DBB42C
ΔE00 5.62
Ocher
#BF9B0C
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3AB3F #3F57C3
analogous
#C3693F #C3AB3F #99C33F
triadic
#C3AB3F #3FC3AB #AB3FC3
tetradic
#C3AB3F #3FC369 #3F57C3 #C33F99
square
#C3AB3F #3FC369 #3F57C3 #C33F99
split-complementary
#C3AB3F #3F99C3 #693FC3
monochromatic
#675A20 #96832F #C3AB3F #D2BF6E #E0D49C
Accessibility & contrast
On white
2.28
#C3AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.22
#C3AB3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3AB3F
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3AB3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3AB3F | 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)
#BCA731
Deuteranopia (green-blind)
#C2AF45
Tritanopia (blue-blind)
#D29E95
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c3ab3f; /* rgb */ color: rgb(195, 171, 63); /* oklch */ color: oklch(74.2% 0.128 96.5);
Tailwind
colors: {
custom: {
50: '#d9c37a',
500: '#c3ab3f',
950: '#000000',
},
}SCSS
$custom: #c3ab3f; $custom-light: #d9c37a; $custom-dark: #000000;
JSON
{
"hex": "#c3ab3f",
"rgb": {
"r": 195,
"g": 171,
"b": 63
},
"hsl": {
"h": 49.091,
"s": 52.381,
"l": 50.588
},
"oklch": {
"l": 0.74229,
"c": 0.12817,
"h": 96.5
},
"luminance": 0.41087
}Semantic roles & 50–950 ramp
primary
#C3AB3F
secondary
#929CCC
accent
#66DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B