#C1AB42#C1AB42
#C1AB42 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.126 H 97.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C1AB42 |
|---|---|
| RGB | rgb(193, 171, 66) |
| HSL | hsl(50, 51%, 51%) |
| HSV | hsv(50, 66%, 76%) |
| CMYK | cmyk(0%, 11.4%, 65.8%, 24.3%) |
| CIE-LAB | lab(70.08, -4.17, 55.08) |
| CIE-LCH | lch(70.08, 55.24, 94.33°) |
| OKLab | oklab(74.07% -0.0161 0.1247) |
| OKLCH | oklch(74.07% 0.126 97.3) |
| XYZ | xyz(37.5403, 40.8584, 11.0623) |
| Luminance | 0.4086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.51
Brownish Yellow
#C9B003
ΔE00 4.99
Desert
#CCAD60
ΔE00 5.49
Mustard (survey)
#CEB301
ΔE00 5.62
Mustard
#DBB42C
ΔE00 6.22
Ocher
#BF9B0C
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C1AB42 #4258C1
analogous
#C16B42 #C1AB42 #98C142
triadic
#C1AB42 #42C1AB #AB42C1
tetradic
#C1AB42 #42C16B #4258C1 #C14298
square
#C1AB42 #42C16B #4258C1 #C14298
split-complementary
#C1AB42 #4298C1 #6B42C1
monochromatic
#675B22 #958431 #C1AB42 #D0BF70 #DFD49E
Accessibility & contrast
On white
2.29
#C1AB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C1AB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C1AB42
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C1AB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C1AB42 | 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)
#BBA735
Deuteranopia (green-blind)
#C1AE48
Tritanopia (blue-blind)
#D09F95
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c1ab42; /* rgb */ color: rgb(193, 171, 66); /* oklch */ color: oklch(74.1% 0.126 97.3);
Tailwind
colors: {
custom: {
50: '#d7c37b',
500: '#c1ab42',
950: '#000000',
},
}SCSS
$custom: #c1ab42; $custom-light: #d7c37b; $custom-dark: #000000;
JSON
{
"hex": "#c1ab42",
"rgb": {
"r": 193,
"g": 171,
"b": 66
},
"hsl": {
"h": 49.606,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.74065,
"c": 0.12575,
"h": 97.3
},
"luminance": 0.40857
}Semantic roles & 50–950 ramp
primary
#C1AB42
secondary
#939DCC
accent
#66DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C