#B1AB30#B1AB30
#B1AB30 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.139 H 106.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AB30 |
|---|---|
| RGB | rgb(177, 171, 48) |
| HSL | hsl(57, 57%, 44%) |
| HSV | hsv(57, 73%, 69%) |
| CMYK | cmyk(0%, 3.4%, 72.9%, 30.6%) |
| CIE-LAB | lab(68.52, -12.10, 60.21) |
| CIE-LCH | lch(68.52, 61.41, 101.36°) |
| OKLab | oklab(72.45% -0.0396 0.133) |
| OKLCH | oklch(72.45% 0.139 106.6) |
| XYZ | xyz(33.2292, 38.6875, 8.5128) |
| Luminance | 0.3869 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.25
Vomit
#A2A415
ΔE00 3.42
Muddy Yellow
#BFAC05
ΔE00 4.63
Olive Yellow
#C2B709
ΔE00 5.04
Mustard Green
#A8B504
ΔE00 5.32
Puke Yellow
#C2BE0E
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AB30 #3036B1
analogous
#B16B30 #B1AB30 #77B130
triadic
#B1AB30 #30B1AB #AB30B1
tetradic
#B1AB30 #30B16B #3036B1 #B13077
square
#B1AB30 #30B16B #3036B1 #B13077
split-complementary
#B1AB30 #3077B1 #6B30B1
monochromatic
#514E16 #817C23 #B1AB30 #CFC94F #DCD87F
Accessibility & contrast
On white
2.40
#B1AB30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#B1AB30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AB30
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AB30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AB30 | 1.00 | 2.40 | 8.74 | 8.74 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA419
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b1ab30; /* rgb */ color: rgb(177, 171, 48); /* oklch */ color: oklch(72.5% 0.139 106.6);
Tailwind
colors: {
custom: {
50: '#ccc371',
500: '#b1ab30',
950: '#000000',
},
}SCSS
$custom: #b1ab30; $custom-light: #ccc371; $custom-dark: #000000;
JSON
{
"hex": "#b1ab30",
"rgb": {
"r": 177,
"g": 171,
"b": 48
},
"hsl": {
"h": 57.209,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.72451,
"c": 0.13873,
"h": 106.6
},
"luminance": 0.38686
}Semantic roles & 50–950 ramp
primary
#B1AB30
secondary
#787BC5
accent
#4EE147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B