#B5B82E#B5B82E
#B5B82E is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.152 H 110.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B82E |
|---|---|
| RGB | rgb(181, 184, 46) |
| HSL | hsl(61, 60%, 45%) |
| HSV | hsv(61, 75%, 72%) |
| CMYK | cmyk(1.6%, 0%, 75%, 27.8%) |
| CIE-LAB | lab(72.43, -17.10, 64.70) |
| CIE-LCH | lch(72.43, 66.92, 104.81°) |
| OKLab | oklab(75.65% -0.054 0.142) |
| OKLCH | oklch(75.65% 0.152 110.8) |
| XYZ | xyz(36.6910, 44.3030, 9.2028) |
| Luminance | 0.4430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.93
Snot
#ACBB0D
ΔE00 2.96
Puke Yellow
#C2BE0E
ΔE00 3.63
Bile
#B5C306
ΔE00 3.93
Baby Puke Green
#B6C406
ΔE00 4.12
Olive Yellow
#C2B709
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B82E #312EB8
analogous
#B8762E #B5B82E #70B82E
triadic
#B5B82E #2EB5B8 #B82EB5
tetradic
#B5B82E #2EB876 #312EB8 #B82E70
square
#B5B82E #2EB876 #312EB8 #B82E70
split-complementary
#B5B82E #2E70B8 #762EB8
monochromatic
#555616 #858722 #B5B82E #D0D350 #DDDF81
Accessibility & contrast
On white
2.13
#B5B82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#B5B82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B82E
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B82E | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B00D
Deuteranopia (green-blind)
#C8B339
Tritanopia (blue-blind)
#C2AC9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b5b82e; /* rgb */ color: rgb(181, 184, 46); /* oklch */ color: oklch(75.6% 0.152 110.8);
Tailwind
colors: {
custom: {
50: '#cfcd72',
500: '#b5b82e',
950: '#000000',
},
}SCSS
$custom: #b5b82e; $custom-light: #cfcd72; $custom-dark: #000000;
JSON
{
"hex": "#b5b82e",
"rgb": {
"r": 181,
"g": 184,
"b": 46
},
"hsl": {
"h": 61.304,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.75647,
"c": 0.15188,
"h": 110.8
},
"luminance": 0.44302
}Semantic roles & 50–950 ramp
primary
#B5B82E
secondary
#7B79C8
accent
#45E348
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B