#B1B828#B1B828
#B1B828 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.3% C 0.156 H 112.5°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B828 |
|---|---|
| RGB | rgb(177, 184, 40) |
| HSL | hsl(63, 64%, 44%) |
| HSV | hsv(63, 78%, 72%) |
| CMYK | cmyk(3.8%, 0%, 78.3%, 27.8%) |
| CIE-LAB | lab(72.08, -19.06, 66.12) |
| CIE-LCH | lch(72.08, 68.82, 106.08°) |
| OKLab | oklab(75.28% -0.0597 0.1441) |
| OKLCH | oklch(75.28% 0.156 112.5) |
| XYZ | xyz(35.6562, 43.7822, 8.5796) |
| Luminance | 0.4378 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.05
Snot
#ACBB0D
ΔE00 2.07
Bile
#B5C306
ΔE00 3.48
Baby Puke Green
#B6C406
ΔE00 3.70
Puke Yellow
#C2BE0E
ΔE00 4.12
Pea
#A4BF20
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B828 #2F28B8
analogous
#B87728 #B1B828 #69B828
triadic
#B1B828 #28B1B8 #B828B1
tetradic
#B1B828 #28B877 #2F28B8 #B82869
square
#B1B828 #28B877 #2F28B8 #B82869
split-complementary
#B1B828 #2869B8 #7728B8
monochromatic
#505312 #81861D #B1B828 #D0D746 #DDE279
Accessibility & contrast
On white
2.15
#B1B828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#B1B828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B828
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B828 | 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)
#C7B235
Tritanopia (blue-blind)
#BDAC9E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b1b828; /* rgb */ color: rgb(177, 184, 40); /* oklch */ color: oklch(75.3% 0.156 112.5);
Tailwind
colors: {
custom: {
50: '#cccd6f',
500: '#b1b828',
950: '#000000',
},
}SCSS
$custom: #b1b828; $custom-light: #cccd6f; $custom-dark: #000000;
JSON
{
"hex": "#b1b828",
"rgb": {
"r": 177,
"g": 184,
"b": 40
},
"hsl": {
"h": 62.917,
"s": 64.286,
"l": 43.922
},
"oklch": {
"l": 0.75281,
"c": 0.15594,
"h": 112.5
},
"luminance": 0.43781
}Semantic roles & 50–950 ramp
primary
#B1B828
secondary
#7672CA
accent
#41E749
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B