#B1AB3E#B1AB3E
#B1AB3E is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.129 H 106.2°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AB3E |
|---|---|
| RGB | rgb(177, 171, 62) |
| HSL | hsl(57, 48%, 47%) |
| HSV | hsv(57, 65%, 69%) |
| CMYK | cmyk(0%, 3.4%, 65%, 30.6%) |
| CIE-LAB | lab(68.62, -11.33, 54.83) |
| CIE-LCH | lch(68.62, 55.98, 101.68°) |
| OKLab | oklab(72.56% -0.0359 0.124) |
| OKLCH | oklch(72.56% 0.129 106.2) |
| XYZ | xyz(33.5651, 38.8219, 10.2818) |
| Luminance | 0.3882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.18
Puke
#A5A502
ΔE00 4.35
Muddy Yellow
#BFAC05
ΔE00 5.67
Olive Yellow
#C2B709
ΔE00 6.10
Mustard Green
#A8B504
ΔE00 6.13
Darkkhaki
#BDB76B
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AB3E #3E44B1
analogous
#B1723E #B1AB3E #7DB13E
triadic
#B1AB3E #3EB1AB #AB3EB1
tetradic
#B1AB3E #3EB172 #3E44B1 #B13E7D
square
#B1AB3E #3EB172 #3E44B1 #B13E7D
split-complementary
#B1AB3E #3E7DB1 #723EB1
monochromatic
#56531E #847F2E #B1AB3E #C9C364 #D8D591
Accessibility & contrast
On white
2.40
#B1AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#B1AB3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AB3E
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AB3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AB3E | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#BCA945
Tritanopia (blue-blind)
#BEA094
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b1ab3e; /* rgb */ color: rgb(177, 171, 62); /* oklch */ color: oklch(72.6% 0.129 106.2);
Tailwind
colors: {
custom: {
50: '#cbc379',
500: '#b1ab3e',
950: '#000000',
},
}SCSS
$custom: #b1ab3e; $custom-light: #cbc379; $custom-dark: #000000;
JSON
{
"hex": "#b1ab3e",
"rgb": {
"r": 177,
"g": 171,
"b": 62
},
"hsl": {
"h": 56.87,
"s": 48.117,
"l": 46.863
},
"oklch": {
"l": 0.7256,
"c": 0.12911,
"h": 106.2
},
"luminance": 0.38821
}Semantic roles & 50–950 ramp
primary
#B1AB3E
secondary
#878AC4
accent
#57D850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B