#B5BF42#B5BF42
#B5BF42 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.3% C 0.147 H 113.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BF42 |
|---|---|
| RGB | rgb(181, 191, 66) |
| HSL | hsl(65, 49%, 50%) |
| HSV | hsv(65, 65%, 75%) |
| CMYK | cmyk(5.2%, 0%, 65.4%, 25.1%) |
| CIE-LAB | lab(74.50, -19.57, 59.40) |
| CIE-LCH | lch(74.50, 62.54, 108.23°) |
| OKLab | oklab(77.34% -0.0589 0.1342) |
| OKLCH | oklch(77.34% 0.147 113.7) |
| XYZ | xyz(38.6712, 47.4794, 12.2805) |
| Luminance | 0.4748 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.55
Pea
#A4BF20
ΔE00 4.00
Bile
#B5C306
ΔE00 4.00
Baby Puke Green
#B6C406
ΔE00 4.12
Mustard Green
#A8B504
ΔE00 4.31
Sick Green
#9DB92C
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BF42 #4C42BF
analogous
#BF8A42 #B5BF42 #76BF42
triadic
#B5BF42 #42B5BF #BF42B5
tetradic
#B5BF42 #42BF8A #4C42BF #BF4276
square
#B5BF42 #42BF8A #4C42BF #BF4276
split-complementary
#B5BF42 #4276BF #8A42BF
monochromatic
#5F6522 #8B9232 #B5BF42 #C7CE70 #D9DE9D
Accessibility & contrast
On white
2.00
#B5BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.50
#B5BF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BF42
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BF42 | 1.00 | 2.00 | 10.50 | 10.50 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#CCB94B
Tritanopia (blue-blind)
#C1B4A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b5bf42; /* rgb */ color: rgb(181, 191, 66); /* oklch */ color: oklch(77.3% 0.147 113.7);
Tailwind
colors: {
custom: {
50: '#ced27d',
500: '#b5bf42',
950: '#000000',
},
}SCSS
$custom: #b5bf42; $custom-light: #ced27d; $custom-dark: #000000;
JSON
{
"hex": "#b5bf42",
"rgb": {
"r": 181,
"g": 191,
"b": 66
},
"hsl": {
"h": 64.8,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.7734,
"c": 0.14654,
"h": 113.7
},
"luminance": 0.47479
}Semantic roles & 50–950 ramp
primary
#B5BF42
secondary
#9793CA
accent
#4FD95A
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C