#C3AB38#C3AB38
#C3AB38 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.2% C 0.133 H 97.1°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C3AB38 |
|---|---|
| RGB | rgb(195, 171, 56) |
| HSL | hsl(50, 55%, 49%) |
| HSV | hsv(50, 71%, 76%) |
| CMYK | cmyk(0%, 12.3%, 71.3%, 23.5%) |
| CIE-LAB | lab(70.19, -3.85, 59.37) |
| CIE-LCH | lch(70.19, 59.50, 93.71°) |
| OKLab | oklab(74.17% -0.0164 0.132) |
| OKLCH | oklch(74.17% 0.133 97.1) |
| XYZ | xyz(37.7843, 41.0154, 9.6672) |
| Luminance | 0.4101 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.57
Brownish Yellow
#C9B003
ΔE00 3.85
Mustard (survey)
#CEB301
ΔE00 4.51
Dark Yellow
#D5B60A
ΔE00 5.27
Mustard
#DBB42C
ΔE00 5.37
Ocher
#BF9B0C
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3AB38 #3850C3
analogous
#C36638 #C3AB38 #96C338
triadic
#C3AB38 #38C3AB #AB38C3
tetradic
#C3AB38 #38C366 #3850C3 #C33896
square
#C3AB38 #38C366 #3850C3 #C33896
split-complementary
#C3AB38 #3896C3 #6638C3
monochromatic
#64581D #93812A #C3AB38 #D3C065 #E1D395
Accessibility & contrast
On white
2.28
#C3AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#C3AB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3AB38
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3AB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3AB38 | 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)
#BCA727
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#D29E94
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c3ab38; /* rgb */ color: rgb(195, 171, 56); /* oklch */ color: oklch(74.2% 0.133 97.1);
Tailwind
colors: {
custom: {
50: '#d9c376',
500: '#c3ab38',
950: '#000000',
},
}SCSS
$custom: #c3ab38; $custom-light: #d9c376; $custom-dark: #000000;
JSON
{
"hex": "#c3ab38",
"rgb": {
"r": 195,
"g": 171,
"b": 56
},
"hsl": {
"h": 49.64,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.74172,
"c": 0.13303,
"h": 97.1
},
"luminance": 0.41013
}Semantic roles & 50–950 ramp
primary
#C3AB38
secondary
#8B96CC
accent
#63DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B