#B5BF40#B5BF40
#B5BF40 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.3% C 0.148 H 113.7°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BF40 |
|---|---|
| RGB | rgb(181, 191, 64) |
| HSL | hsl(65, 50%, 50%) |
| HSV | hsv(65, 66%, 75%) |
| CMYK | cmyk(5.2%, 0%, 66.5%, 25.1%) |
| CIE-LAB | lab(74.48, -19.69, 60.18) |
| CIE-LCH | lch(74.48, 63.32, 108.12°) |
| OKLab | oklab(77.32% -0.0595 0.1355) |
| OKLCH | oklch(77.32% 0.148 113.7) |
| XYZ | xyz(38.6133, 47.4563, 11.9754) |
| Luminance | 0.4746 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.36
Bile
#B5C306
ΔE00 3.80
Pea
#A4BF20
ΔE00 3.90
Baby Puke Green
#B6C406
ΔE00 3.91
Mustard Green
#A8B504
ΔE00 4.15
Sick Green
#9DB92C
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BF40 #4A40BF
analogous
#BF8940 #B5BF40 #76BF40
triadic
#B5BF40 #40B5BF #BF40B5
tetradic
#B5BF40 #40BF89 #4A40BF #BF4076
square
#B5BF40 #40BF89 #4A40BF #BF4076
split-complementary
#B5BF40 #4076BF #8940BF
monochromatic
#5E6321 #8A9131 #B5BF40 #C7CE6E #D9DE9C
Accessibility & contrast
On white
2.00
#B5BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.49
#B5BF40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BF40
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BF40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BF40 | 1.00 | 2.00 | 10.49 | 10.49 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#C1B4A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b5bf40; /* rgb */ color: rgb(181, 191, 64); /* oklch */ color: oklch(77.3% 0.148 113.7);
Tailwind
colors: {
custom: {
50: '#ced27c',
500: '#b5bf40',
950: '#000000',
},
}SCSS
$custom: #b5bf40; $custom-light: #ced27c; $custom-dark: #000000;
JSON
{
"hex": "#b5bf40",
"rgb": {
"r": 181,
"g": 191,
"b": 64
},
"hsl": {
"h": 64.724,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.77323,
"c": 0.14797,
"h": 113.7
},
"luminance": 0.47456
}Semantic roles & 50–950 ramp
primary
#B5BF40
secondary
#9591CA
accent
#4ED959
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C