#B1AB34#B1AB34
#B1AB34 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.136 H 106.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AB34 |
|---|---|
| RGB | rgb(177, 171, 52) |
| HSL | hsl(57, 55%, 45%) |
| HSV | hsv(57, 71%, 69%) |
| CMYK | cmyk(0%, 3.4%, 70.6%, 30.6%) |
| CIE-LAB | lab(68.55, -11.90, 58.76) |
| CIE-LCH | lch(68.55, 59.95, 101.45°) |
| OKLab | oklab(72.48% -0.0386 0.1306) |
| OKLCH | oklch(72.48% 0.136 106.5) |
| XYZ | xyz(33.3155, 38.7220, 8.9673) |
| Luminance | 0.3872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.51
Vomit
#A2A415
ΔE00 3.57
Muddy Yellow
#BFAC05
ΔE00 4.89
Olive Yellow
#C2B709
ΔE00 5.30
Mustard Green
#A8B504
ΔE00 5.50
Puke Yellow
#C2BE0E
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AB34 #343AB1
analogous
#B16D34 #B1AB34 #79B134
triadic
#B1AB34 #34B1AB #AB34B1
tetradic
#B1AB34 #34B16D #343AB1 #B13479
square
#B1AB34 #34B16D #343AB1 #B13479
split-complementary
#B1AB34 #3479B1 #6D34B1
monochromatic
#525018 #827D26 #B1AB34 #CDC755 #DBD784
Accessibility & contrast
On white
2.40
#B1AB34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#B1AB34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AB34
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AB34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AB34 | 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)
#BAA521
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#BEA094
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b1ab34; /* rgb */ color: rgb(177, 171, 52); /* oklch */ color: oklch(72.5% 0.136 106.5);
Tailwind
colors: {
custom: {
50: '#ccc373',
500: '#b1ab34',
950: '#000000',
},
}SCSS
$custom: #b1ab34; $custom-light: #ccc373; $custom-dark: #000000;
JSON
{
"hex": "#b1ab34",
"rgb": {
"r": 177,
"g": 171,
"b": 52
},
"hsl": {
"h": 57.12,
"s": 54.585,
"l": 44.902
},
"oklch": {
"l": 0.72479,
"c": 0.13622,
"h": 106.5
},
"luminance": 0.38721
}Semantic roles & 50–950 ramp
primary
#B1AB34
secondary
#7C80C5
accent
#51DE4A
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B