#B2B82B#B2B82B
#B2B82B is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.154 H 112.1°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B82B |
|---|---|
| RGB | rgb(178, 184, 43) |
| HSL | hsl(63, 62%, 45%) |
| HSV | hsv(63, 77%, 72%) |
| CMYK | cmyk(3.3%, 0%, 76.6%, 27.8%) |
| CIE-LAB | lab(72.18, -18.51, 65.33) |
| CIE-LCH | lch(72.18, 67.90, 105.82°) |
| OKLab | oklab(75.38% -0.058 0.1429) |
| OKLCH | oklch(75.38% 0.154 112.1) |
| XYZ | xyz(35.9378, 43.9213, 8.8696) |
| Luminance | 0.4392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.32
Snot
#ACBB0D
ΔE00 2.34
Bile
#B5C306
ΔE00 3.63
Baby Puke Green
#B6C406
ΔE00 3.84
Puke Yellow
#C2BE0E
ΔE00 4.05
Pea
#A4BF20
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B82B #312BB8
analogous
#B8782B #B2B82B #6CB82B
triadic
#B2B82B #2BB2B8 #B82BB2
tetradic
#B2B82B #2BB878 #312BB8 #B82B6C
square
#B2B82B #2BB878 #312BB8 #B82B6C
split-complementary
#B2B82B #2B6CB8 #782BB8
monochromatic
#525514 #82861F #B2B82B #CFD54B #DCE17D
Accessibility & contrast
On white
2.15
#B2B82B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#B2B82B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B82B
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B82B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B82B | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF02
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#BEAC9E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b2b82b; /* rgb */ color: rgb(178, 184, 43); /* oklch */ color: oklch(75.4% 0.154 112.1);
Tailwind
colors: {
custom: {
50: '#cdcd70',
500: '#b2b82b',
950: '#000000',
},
}SCSS
$custom: #b2b82b; $custom-light: #cdcd70; $custom-dark: #000000;
JSON
{
"hex": "#b2b82b",
"rgb": {
"r": 178,
"g": 184,
"b": 43
},
"hsl": {
"h": 62.553,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.75379,
"c": 0.1542,
"h": 112.1
},
"luminance": 0.4392
}Semantic roles & 50–950 ramp
primary
#B2B82B
secondary
#7976C9
accent
#43E54A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B