#B4B82E#B4B82E
#B4B82E is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.152 H 111.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B82E |
|---|---|
| RGB | rgb(180, 184, 46) |
| HSL | hsl(62, 60%, 45%) |
| HSV | hsv(62, 75%, 72%) |
| CMYK | cmyk(2.2%, 0%, 75%, 27.8%) |
| CIE-LAB | lab(72.35, -17.53, 64.59) |
| CIE-LCH | lch(72.35, 66.93, 105.19°) |
| OKLab | oklab(75.56% -0.0551 0.1418) |
| OKLCH | oklch(75.56% 0.152 111.2) |
| XYZ | xyz(36.4573, 44.1825, 9.1918) |
| Luminance | 0.4418 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.76
Snot
#ACBB0D
ΔE00 2.79
Puke Yellow
#C2BE0E
ΔE00 3.82
Bile
#B5C306
ΔE00 3.86
Baby Puke Green
#B6C406
ΔE00 4.06
Olive Yellow
#C2B709
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B82E #322EB8
analogous
#B8772E #B4B82E #6FB82E
triadic
#B4B82E #2EB4B8 #B82EB4
tetradic
#B4B82E #2EB877 #322EB8 #B82E6F
square
#B4B82E #2EB877 #322EB8 #B82E6F
split-complementary
#B4B82E #2E6FB8 #772EB8
monochromatic
#545616 #848722 #B4B82E #CFD350 #DDDF81
Accessibility & contrast
On white
2.13
#B4B82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#B4B82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B82E
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B82E | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B00D
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#C1AC9E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4b82e; /* rgb */ color: rgb(180, 184, 46); /* oklch */ color: oklch(75.6% 0.152 111.2);
Tailwind
colors: {
custom: {
50: '#cecd72',
500: '#b4b82e',
950: '#000000',
},
}SCSS
$custom: #b4b82e; $custom-light: #cecd72; $custom-dark: #000000;
JSON
{
"hex": "#b4b82e",
"rgb": {
"r": 180,
"g": 184,
"b": 46
},
"hsl": {
"h": 61.739,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.75563,
"c": 0.15211,
"h": 111.2
},
"luminance": 0.44182
}Semantic roles & 50–950 ramp
primary
#B4B82E
secondary
#7C79C8
accent
#45E349
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B