#B0B828#B0B828
#B0B828 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.156 H 112.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B0B828 |
|---|---|
| RGB | rgb(176, 184, 40) |
| HSL | hsl(63, 64%, 44%) |
| HSV | hsv(63, 78%, 72%) |
| CMYK | cmyk(4.3%, 0%, 78.3%, 27.8%) |
| CIE-LAB | lab(72.00, -19.49, 66.02) |
| CIE-LCH | lch(72.00, 68.84, 106.44°) |
| OKLab | oklab(75.2% -0.0608 0.1439) |
| OKLCH | oklch(75.2% 0.156 112.9) |
| XYZ | xyz(35.4292, 43.6651, 8.5690) |
| Luminance | 0.4366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.93
Snot
#ACBB0D
ΔE00 1.94
Bile
#B5C306
ΔE00 3.46
Baby Puke Green
#B6C406
ΔE00 3.69
Pea
#A4BF20
ΔE00 4.08
Puke Yellow
#C2BE0E
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0B828 #3028B8
analogous
#B87828 #B0B828 #68B828
triadic
#B0B828 #28B0B8 #B828B0
tetradic
#B0B828 #28B878 #3028B8 #B82868
square
#B0B828 #28B878 #3028B8 #B82868
split-complementary
#B0B828 #2868B8 #7828B8
monochromatic
#505312 #80861D #B0B828 #CFD746 #DCE279
Accessibility & contrast
On white
2.16
#B0B828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#B0B828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0B828
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0B828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0B828 | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C6B235
Tritanopia (blue-blind)
#BCAD9E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b0b828; /* rgb */ color: rgb(176, 184, 40); /* oklch */ color: oklch(75.2% 0.156 112.9);
Tailwind
colors: {
custom: {
50: '#cbcd6f',
500: '#b0b828',
950: '#000000',
},
}SCSS
$custom: #b0b828; $custom-light: #cbcd6f; $custom-dark: #000000;
JSON
{
"hex": "#b0b828",
"rgb": {
"r": 176,
"g": 184,
"b": 40
},
"hsl": {
"h": 63.333,
"s": 64.286,
"l": 43.922
},
"oklch": {
"l": 0.75198,
"c": 0.15622,
"h": 112.9
},
"luminance": 0.43664
}Semantic roles & 50–950 ramp
primary
#B0B828
secondary
#7772CA
accent
#41E74A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B