#B5B940#B5B940
#B5B940 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.0% C 0.141 H 111.2°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B5B940 |
|---|---|
| RGB | rgb(181, 185, 64) |
| HSL | hsl(62, 49%, 49%) |
| HSV | hsv(62, 65%, 73%) |
| CMYK | cmyk(2.2%, 0%, 65.4%, 27.5%) |
| CIE-LAB | lab(72.82, -16.68, 58.47) |
| CIE-LCH | lch(72.82, 60.80, 105.92°) |
| OKLab | oklab(76% -0.051 0.1319) |
| OKLCH | oklch(76% 0.141 111.2) |
| XYZ | xyz(37.3316, 44.8928, 11.5481) |
| Luminance | 0.4489 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.90
Mustard Green
#A8B504
ΔE00 3.99
Bile
#B5C306
ΔE00 4.84
Puke Yellow
#C2BE0E
ΔE00 4.98
Baby Puke Green
#B6C406
ΔE00 5.01
Pea
#A4BF20
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5B940 #4440B9
analogous
#B98140 #B5B940 #79B940
triadic
#B5B940 #40B5B9 #B940B5
tetradic
#B5B940 #40B981 #4440B9 #B94079
square
#B5B940 #40B981 #4440B9 #B94079
split-complementary
#B5B940 #4079B9 #8140B9
monochromatic
#5C5E21 #898C30 #B5B940 #C8CC6B #D9DB98
Accessibility & contrast
On white
2.10
#B5B940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.98
#B5B940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5B940
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5B940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5B940 | 1.00 | 2.10 | 9.98 | 9.98 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C8B448
Tritanopia (blue-blind)
#C1AEA0
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b5b940; /* rgb */ color: rgb(181, 185, 64); /* oklch */ color: oklch(76.0% 0.141 111.2);
Tailwind
colors: {
custom: {
50: '#cecd7b',
500: '#b5b940',
950: '#000000',
},
}SCSS
$custom: #b5b940; $custom-light: #cecd7b; $custom-dark: #000000;
JSON
{
"hex": "#b5b940",
"rgb": {
"r": 181,
"g": 185,
"b": 64
},
"hsl": {
"h": 61.983,
"s": 48.594,
"l": 48.824
},
"oklch": {
"l": 0.75996,
"c": 0.14143,
"h": 111.2
},
"luminance": 0.44892
}Semantic roles & 50–950 ramp
primary
#B5B940
secondary
#908EC7
accent
#50D854
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C