#B1AB38#B1AB38
#B1AB38 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.5% C 0.134 H 106.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AB38 |
|---|---|
| RGB | rgb(177, 171, 56) |
| HSL | hsl(57, 52%, 46%) |
| HSV | hsv(57, 68%, 69%) |
| CMYK | cmyk(0%, 3.4%, 68.4%, 30.6%) |
| CIE-LAB | lab(68.58, -11.69, 57.23) |
| CIE-LCH | lch(68.58, 58.42, 101.54°) |
| OKLab | oklab(72.51% -0.0376 0.1281) |
| OKLCH | oklch(72.51% 0.134 106.4) |
| XYZ | xyz(33.4094, 38.7596, 9.4621) |
| Luminance | 0.3876 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.78
Puke
#A5A502
ΔE00 3.82
Muddy Yellow
#BFAC05
ΔE00 5.18
Olive Yellow
#C2B709
ΔE00 5.60
Mustard Green
#A8B504
ΔE00 5.72
Puke Green
#9AAE07
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AB38 #383EB1
analogous
#B16E38 #B1AB38 #7AB138
triadic
#B1AB38 #38B1AB #AB38B1
tetradic
#B1AB38 #38B16E #383EB1 #B1387A
square
#B1AB38 #38B16E #383EB1 #B1387A
split-complementary
#B1AB38 #387AB1 #6E38B1
monochromatic
#54511B #837E29 #B1AB38 #CBC65B #DAD68A
Accessibility & contrast
On white
2.40
#B1AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#B1AB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AB38
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AB38 | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A527
Deuteranopia (green-blind)
#BCA940
Tritanopia (blue-blind)
#BEA094
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b1ab38; /* rgb */ color: rgb(177, 171, 56); /* oklch */ color: oklch(72.5% 0.134 106.4);
Tailwind
colors: {
custom: {
50: '#ccc375',
500: '#b1ab38',
950: '#000000',
},
}SCSS
$custom: #b1ab38; $custom-light: #ccc375; $custom-dark: #000000;
JSON
{
"hex": "#b1ab38",
"rgb": {
"r": 177,
"g": 171,
"b": 56
},
"hsl": {
"h": 57.025,
"s": 51.931,
"l": 45.686
},
"oklch": {
"l": 0.72509,
"c": 0.13351,
"h": 106.4
},
"luminance": 0.38758
}Semantic roles & 50–950 ramp
primary
#B1AB38
secondary
#8184C4
accent
#54DB4C
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B