#C1AB40#C1AB40
#C1AB40 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.127 H 97.5°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C1AB40 |
|---|---|
| RGB | rgb(193, 171, 64) |
| HSL | hsl(50, 51%, 50%) |
| HSV | hsv(50, 67%, 76%) |
| CMYK | cmyk(0%, 11.4%, 66.8%, 24.3%) |
| CIE-LAB | lab(70.06, -4.29, 55.92) |
| CIE-LCH | lch(70.06, 56.09, 94.38°) |
| OKLab | oklab(74.05% -0.0166 0.1262) |
| OKLCH | oklch(74.05% 0.127 97.5) |
| XYZ | xyz(37.4824, 40.8353, 10.7572) |
| Luminance | 0.4083 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.27
Brownish Yellow
#C9B003
ΔE00 4.77
Mustard (survey)
#CEB301
ΔE00 5.42
Desert
#CCAD60
ΔE00 5.69
Mustard
#DBB42C
ΔE00 6.13
Ocher
#BF9B0C
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1AB40 #4056C1
analogous
#C16A40 #C1AB40 #97C140
triadic
#C1AB40 #40C1AB #AB40C1
tetradic
#C1AB40 #40C16A #4056C1 #C14097
square
#C1AB40 #40C16A #4056C1 #C14097
split-complementary
#C1AB40 #4097C1 #6A40C1
monochromatic
#665A21 #948330 #C1AB40 #D0BF6E #DFD49C
Accessibility & contrast
On white
2.29
#C1AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C1AB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1AB40
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1AB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1AB40 | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#D09F95
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c1ab40; /* rgb */ color: rgb(193, 171, 64); /* oklch */ color: oklch(74.0% 0.127 97.5);
Tailwind
colors: {
custom: {
50: '#d7c37a',
500: '#c1ab40',
950: '#000000',
},
}SCSS
$custom: #c1ab40; $custom-light: #d7c37a; $custom-dark: #000000;
JSON
{
"hex": "#c1ab40",
"rgb": {
"r": 193,
"g": 171,
"b": 64
},
"hsl": {
"h": 49.767,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.74047,
"c": 0.12726,
"h": 97.5
},
"luminance": 0.40833
}Semantic roles & 50–950 ramp
primary
#C1AB40
secondary
#929BCB
accent
#65DA4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C