#B1AD26#B1AD26
#B1AD26 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.8% C 0.146 H 107.7°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AD26 |
|---|---|
| RGB | rgb(177, 173, 38) |
| HSL | hsl(58, 65%, 42%) |
| HSV | hsv(58, 79%, 69%) |
| CMYK | cmyk(0%, 2.3%, 78.5%, 30.6%) |
| CIE-LAB | lab(69.02, -13.55, 63.98) |
| CIE-LCH | lch(69.02, 65.40, 101.96°) |
| OKLab | oklab(72.83% -0.0445 0.1391) |
| OKLCH | oklch(72.83% 0.146 107.7) |
| XYZ | xyz(33.4262, 39.3754, 7.6728) |
| Luminance | 0.3937 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.94
Vomit
#A2A415
ΔE00 3.35
Olive Yellow
#C2B709
ΔE00 4.31
Mustard Green
#A8B504
ΔE00 4.37
Muddy Yellow
#BFAC05
ΔE00 4.48
Puke Yellow
#C2BE0E
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AD26 #262AB1
analogous
#B16726 #B1AD26 #70B126
triadic
#B1AD26 #26B1AD #AD26B1
tetradic
#B1AD26 #26B167 #262AB1 #B12670
square
#B1AD26 #26B167 #262AB1 #B12670
split-complementary
#B1AD26 #2670B1 #6726B1
monochromatic
#4C4B10 #7F7C1B #B1AD26 #D6D13F #E0DD71
Accessibility & contrast
On white
2.37
#B1AD26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#B1AD26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AD26
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AD26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AD26 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BEAB32
Tritanopia (blue-blind)
#BEA194
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b1ad26; /* rgb */ color: rgb(177, 173, 38); /* oklch */ color: oklch(72.8% 0.146 107.7);
Tailwind
colors: {
custom: {
50: '#ccc56d',
500: '#b1ad26',
950: '#000000',
},
}SCSS
$custom: #b1ad26; $custom-light: #ccc56d; $custom-dark: #000000;
JSON
{
"hex": "#b1ad26",
"rgb": {
"r": 177,
"g": 173,
"b": 38
},
"hsl": {
"h": 58.273,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.72831,
"c": 0.14608,
"h": 107.7
},
"luminance": 0.39374
}Semantic roles & 50–950 ramp
primary
#B1AD26
secondary
#6B6EC7
accent
#45E840
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B