#B2B82D#B2B82D
#B2B82D 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 | #B2B82D |
|---|---|
| RGB | rgb(178, 184, 45) |
| HSL | hsl(63, 61%, 45%) |
| HSV | hsv(63, 76%, 72%) |
| CMYK | cmyk(3.3%, 0%, 75.5%, 27.8%) |
| CIE-LAB | lab(72.19, -18.43, 64.71) |
| CIE-LCH | lch(72.19, 67.28, 105.90°) |
| OKLab | oklab(75.39% -0.0576 0.1419) |
| OKLCH | oklch(75.39% 0.153 112.1) |
| XYZ | xyz(35.9754, 43.9363, 9.0676) |
| Luminance | 0.4394 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.41
Snot
#ACBB0D
ΔE00 2.43
Bile
#B5C306
ΔE00 3.72
Baby Puke Green
#B6C406
ΔE00 3.93
Puke Yellow
#C2BE0E
ΔE00 4.15
Pea
#A4BF20
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B82D #332DB8
analogous
#B8792D #B2B82D #6CB82D
triadic
#B2B82D #2DB2B8 #B82DB2
tetradic
#B2B82D #2DB879 #332DB8 #B82D6C
square
#B2B82D #2DB879 #332DB8 #B82D6C
split-complementary
#B2B82D #2D6CB8 #792DB8
monochromatic
#535615 #828721 #B2B82D #CED44E #DCE080
Accessibility & contrast
On white
2.15
#B2B82D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#B2B82D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B82D
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B82D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B82D | 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)
#C6AF09
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#BEAC9E
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b2b82d; /* rgb */ color: rgb(178, 184, 45); /* oklch */ color: oklch(75.4% 0.153 112.1);
Tailwind
colors: {
custom: {
50: '#cdcd71',
500: '#b2b82d',
950: '#000000',
},
}SCSS
$custom: #b2b82d; $custom-light: #cdcd71; $custom-dark: #000000;
JSON
{
"hex": "#b2b82d",
"rgb": {
"r": 178,
"g": 184,
"b": 45
},
"hsl": {
"h": 62.59,
"s": 60.699,
"l": 44.902
},
"oklch": {
"l": 0.7539,
"c": 0.15316,
"h": 112.1
},
"luminance": 0.43935
}Semantic roles & 50–950 ramp
primary
#B2B82D
secondary
#7C78C9
accent
#44E44B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B