#B5B82B#B5B82B
#B5B82B is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.153 H 110.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B82B |
|---|---|
| RGB | rgb(181, 184, 43) |
| HSL | hsl(61, 62%, 45%) |
| HSV | hsv(61, 77%, 72%) |
| CMYK | cmyk(1.6%, 0%, 76.6%, 27.8%) |
| CIE-LAB | lab(72.42, -17.23, 65.64) |
| CIE-LCH | lch(72.42, 67.86, 104.71°) |
| OKLab | oklab(75.63% -0.0545 0.1434) |
| OKLCH | oklch(75.63% 0.153 110.8) |
| XYZ | xyz(36.6339, 44.2802, 8.9022) |
| Luminance | 0.4428 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.82
Snot
#ACBB0D
ΔE00 2.86
Puke Yellow
#C2BE0E
ΔE00 3.47
Bile
#B5C306
ΔE00 3.81
Baby Puke Green
#B6C406
ΔE00 4.00
Olive Yellow
#C2B709
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B82B #2E2BB8
analogous
#B8752B #B5B82B #6EB82B
triadic
#B5B82B #2BB5B8 #B82BB5
tetradic
#B5B82B #2BB875 #2E2BB8 #B82B6E
square
#B5B82B #2BB875 #2E2BB8 #B82B6E
split-complementary
#B5B82B #2B6EB8 #752BB8
monochromatic
#535514 #84861F #B5B82B #D2D54B #DEE17D
Accessibility & contrast
On white
2.13
#B5B82B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#B5B82B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B82B
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B82B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B82B | 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)
#C7B002
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#C2AC9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b5b82b; /* rgb */ color: rgb(181, 184, 43); /* oklch */ color: oklch(75.6% 0.153 110.8);
Tailwind
colors: {
custom: {
50: '#cfcd70',
500: '#b5b82b',
950: '#000000',
},
}SCSS
$custom: #b5b82b; $custom-light: #cfcd70; $custom-dark: #000000;
JSON
{
"hex": "#b5b82b",
"rgb": {
"r": 181,
"g": 184,
"b": 43
},
"hsl": {
"h": 61.277,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.7563,
"c": 0.15344,
"h": 110.8
},
"luminance": 0.44279
}Semantic roles & 50–950 ramp
primary
#B5B82B
secondary
#7876C9
accent
#43E546
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B