#B1B82A#B1B82A
#B1B82A is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.3% C 0.155 H 112.5°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B82A |
|---|---|
| RGB | rgb(177, 184, 42) |
| HSL | hsl(63, 63%, 44%) |
| HSV | hsv(63, 77%, 72%) |
| CMYK | cmyk(3.8%, 0%, 77.2%, 27.8%) |
| CIE-LAB | lab(72.09, -18.98, 65.53) |
| CIE-LCH | lch(72.09, 68.23, 106.15°) |
| OKLab | oklab(75.29% -0.0593 0.1432) |
| OKLCH | oklch(75.29% 0.155 112.5) |
| XYZ | xyz(35.6911, 43.7961, 8.7634) |
| Luminance | 0.4380 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.14
Snot
#ACBB0D
ΔE00 2.16
Bile
#B5C306
ΔE00 3.56
Baby Puke Green
#B6C406
ΔE00 3.78
Puke Yellow
#C2BE0E
ΔE00 4.21
Pea
#A4BF20
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B82A #312AB8
analogous
#B8782A #B1B82A #6AB82A
triadic
#B1B82A #2AB1B8 #B82AB1
tetradic
#B1B82A #2AB878 #312AB8 #B82A6A
square
#B1B82A #2AB878 #312AB8 #B82A6A
split-complementary
#B1B82A #2A6AB8 #782AB8
monochromatic
#515413 #81861F #B1B82A #CFD64A #DCE17B
Accessibility & contrast
On white
2.15
#B1B82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#B1B82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B82A
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B82A | 1.00 | 2.15 | 9.76 | 9.76 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C7B237
Tritanopia (blue-blind)
#BDAC9E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b1b82a; /* rgb */ color: rgb(177, 184, 42); /* oklch */ color: oklch(75.3% 0.155 112.5);
Tailwind
colors: {
custom: {
50: '#cccd70',
500: '#b1b82a',
950: '#000000',
},
}SCSS
$custom: #b1b82a; $custom-light: #cccd70; $custom-dark: #000000;
JSON
{
"hex": "#b1b82a",
"rgb": {
"r": 177,
"g": 184,
"b": 42
},
"hsl": {
"h": 62.958,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.75291,
"c": 0.15496,
"h": 112.5
},
"luminance": 0.43795
}Semantic roles & 50–950 ramp
primary
#B1B82A
secondary
#7975C9
accent
#42E64A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B