#B6B828#B6B828
#B6B828 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.7% C 0.155 H 110.4°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B6B828 |
|---|---|
| RGB | rgb(182, 184, 40) |
| HSL | hsl(61, 64%, 44%) |
| HSV | hsv(61, 78%, 72%) |
| CMYK | cmyk(1.1%, 0%, 78.3%, 27.8%) |
| CIE-LAB | lab(72.48, -16.91, 66.63) |
| CIE-LCH | lch(72.48, 68.74, 104.24°) |
| OKLab | oklab(75.7% -0.054 0.145) |
| OKLCH | oklch(75.7% 0.155 110.4) |
| XYZ | xyz(36.8163, 44.3803, 8.6340) |
| Luminance | 0.4438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.95
Snot
#ACBB0D
ΔE00 2.99
Puke Yellow
#C2BE0E
ΔE00 3.13
Bile
#B5C306
ΔE00 3.81
Olive Yellow
#C2B709
ΔE00 3.83
Baby Puke Green
#B6C406
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6B828 #2A28B8
analogous
#B87228 #B6B828 #6EB828
triadic
#B6B828 #28B6B8 #B828B6
tetradic
#B6B828 #28B872 #2A28B8 #B8286E
square
#B6B828 #28B872 #2A28B8 #B8286E
split-complementary
#B6B828 #286EB8 #7228B8
monochromatic
#535312 #84861D #B6B828 #D5D746 #E0E279
Accessibility & contrast
On white
2.13
#B6B828 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#B6B828 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6B828
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6B828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6B828 | 1.00 | 2.13 | 9.88 | 9.88 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C8B435
Tritanopia (blue-blind)
#C3AC9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b6b828; /* rgb */ color: rgb(182, 184, 40); /* oklch */ color: oklch(75.7% 0.155 110.4);
Tailwind
colors: {
custom: {
50: '#d0cd6f',
500: '#b6b828',
950: '#000000',
},
}SCSS
$custom: #b6b828; $custom-light: #d0cd6f; $custom-dark: #000000;
JSON
{
"hex": "#b6b828",
"rgb": {
"r": 182,
"g": 184,
"b": 40
},
"hsl": {
"h": 60.833,
"s": 64.286,
"l": 43.922
},
"oklch": {
"l": 0.75698,
"c": 0.15468,
"h": 110.4
},
"luminance": 0.44379
}Semantic roles & 50–950 ramp
primary
#B6B828
secondary
#7372CA
accent
#41E743
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B