#B2B82E#B2B82E
#B2B82E is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.153 H 112.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B82E |
|---|---|
| RGB | rgb(178, 184, 46) |
| HSL | hsl(63, 60%, 45%) |
| HSV | hsv(63, 75%, 72%) |
| CMYK | cmyk(3.3%, 0%, 75%, 27.8%) |
| CIE-LAB | lab(72.19, -18.39, 64.39) |
| CIE-LCH | lch(72.19, 66.96, 105.94°) |
| OKLab | oklab(75.4% -0.0574 0.1414) |
| OKLCH | oklch(75.4% 0.153 112.1) |
| XYZ | xyz(35.9949, 43.9441, 9.1702) |
| Luminance | 0.4394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.46
Snot
#ACBB0D
ΔE00 2.48
Bile
#B5C306
ΔE00 3.77
Baby Puke Green
#B6C406
ΔE00 3.98
Puke Yellow
#C2BE0E
ΔE00 4.21
Pea
#A4BF20
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B82E #342EB8
analogous
#B8792E #B2B82E #6DB82E
triadic
#B2B82E #2EB2B8 #B82EB2
tetradic
#B2B82E #2EB879 #342EB8 #B82E6D
square
#B2B82E #2EB879 #342EB8 #B82E6D
split-complementary
#B2B82E #2E6DB8 #792EB8
monochromatic
#535616 #838722 #B2B82E #CED350 #DBDF81
Accessibility & contrast
On white
2.15
#B2B82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#B2B82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B82E
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B82E | 1.00 | 2.15 | 9.79 | 9.79 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF0D
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#BEAD9E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b2b82e; /* rgb */ color: rgb(178, 184, 46); /* oklch */ color: oklch(75.4% 0.153 112.1);
Tailwind
colors: {
custom: {
50: '#cdcd72',
500: '#b2b82e',
950: '#000000',
},
}SCSS
$custom: #b2b82e; $custom-light: #cdcd72; $custom-dark: #000000;
JSON
{
"hex": "#b2b82e",
"rgb": {
"r": 178,
"g": 184,
"b": 46
},
"hsl": {
"h": 62.609,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.75396,
"c": 0.15261,
"h": 112.1
},
"luminance": 0.43943
}Semantic roles & 50–950 ramp
primary
#B2B82E
secondary
#7D79C8
accent
#45E34C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B