#B4B82B#B4B82B
#B4B82B is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.5% C 0.154 H 111.2°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B82B |
|---|---|
| RGB | rgb(180, 184, 43) |
| HSL | hsl(62, 62%, 45%) |
| HSV | hsv(62, 77%, 72%) |
| CMYK | cmyk(2.2%, 0%, 76.6%, 27.8%) |
| CIE-LAB | lab(72.34, -17.66, 65.53) |
| CIE-LCH | lch(72.34, 67.87, 105.08°) |
| OKLab | oklab(75.55% -0.0557 0.1432) |
| OKLCH | oklch(75.55% 0.154 111.2) |
| XYZ | xyz(36.4002, 44.1597, 8.8912) |
| Luminance | 0.4416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.64
Snot
#ACBB0D
ΔE00 2.68
Puke Yellow
#C2BE0E
ΔE00 3.65
Bile
#B5C306
ΔE00 3.74
Baby Puke Green
#B6C406
ΔE00 3.94
Olive Yellow
#C2B709
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B82B #2F2BB8
analogous
#B8762B #B4B82B #6EB82B
triadic
#B4B82B #2BB4B8 #B82BB4
tetradic
#B4B82B #2BB876 #2F2BB8 #B82B6E
square
#B4B82B #2BB876 #2F2BB8 #B82B6E
split-complementary
#B4B82B #2B6EB8 #762BB8
monochromatic
#535514 #83861F #B4B82B #D1D54B #DEE17D
Accessibility & contrast
On white
2.14
#B4B82B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#B4B82B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B82B
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B82B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B82B | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B002
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#C1AC9E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b4b82b; /* rgb */ color: rgb(180, 184, 43); /* oklch */ color: oklch(75.5% 0.154 111.2);
Tailwind
colors: {
custom: {
50: '#cecd70',
500: '#b4b82b',
950: '#000000',
},
}SCSS
$custom: #b4b82b; $custom-light: #cecd70; $custom-dark: #000000;
JSON
{
"hex": "#b4b82b",
"rgb": {
"r": 180,
"g": 184,
"b": 43
},
"hsl": {
"h": 61.702,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.75546,
"c": 0.15369,
"h": 111.2
},
"luminance": 0.44159
}Semantic roles & 50–950 ramp
primary
#B4B82B
secondary
#7876C9
accent
#43E547
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B