#B1BA2A#B1BA2A
#B1BA2A is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.7% C 0.157 H 113.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B1BA2A |
|---|---|
| RGB | rgb(177, 186, 42) |
| HSL | hsl(64, 63%, 45%) |
| HSV | hsv(64, 77%, 73%) |
| CMYK | cmyk(4.8%, 0%, 77.4%, 27.1%) |
| CIE-LAB | lab(72.65, -19.98, 66.04) |
| CIE-LCH | lch(72.65, 68.99, 106.83°) |
| OKLab | oklab(75.74% -0.0621 0.1443) |
| OKLCH | oklch(75.74% 0.157 113.3) |
| XYZ | xyz(36.1094, 44.6329, 8.9029) |
| Luminance | 0.4463 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.76
Mustard Green
#A8B504
ΔE00 2.18
Bile
#B5C306
ΔE00 3.06
Baby Puke Green
#B6C406
ΔE00 3.28
Pea
#A4BF20
ΔE00 3.77
Puke Yellow
#C2BE0E
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1BA2A #332ABA
analogous
#BA7B2A #B1BA2A #69BA2A
triadic
#B1BA2A #2AB1BA #BA2AB1
tetradic
#B1BA2A #2ABA7B #332ABA #BA2A69
square
#B1BA2A #2ABA7B #332ABA #BA2A69
split-complementary
#B1BA2A #2A69BA #7B2ABA
monochromatic
#525613 #81881F #B1BA2A #CED64B #DBE27D
Accessibility & contrast
On white
2.12
#B1BA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#B1BA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1BA2A
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1BA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1BA2A | 1.00 | 2.12 | 9.93 | 9.93 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C8B437
Tritanopia (blue-blind)
#BDAF9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b1ba2a; /* rgb */ color: rgb(177, 186, 42); /* oklch */ color: oklch(75.7% 0.157 113.3);
Tailwind
colors: {
custom: {
50: '#ccce70',
500: '#b1ba2a',
950: '#000000',
},
}SCSS
$custom: #b1ba2a; $custom-light: #ccce70; $custom-dark: #000000;
JSON
{
"hex": "#b1ba2a",
"rgb": {
"r": 177,
"g": 186,
"b": 42
},
"hsl": {
"h": 63.75,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.75738,
"c": 0.15704,
"h": 113.3
},
"luminance": 0.44632
}Semantic roles & 50–950 ramp
primary
#B1BA2A
secondary
#7B76CA
accent
#42E64C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B