#B4BF40#B4BF40
#B4BF40 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.148 H 114.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BF40 |
|---|---|
| RGB | rgb(180, 191, 64) |
| HSL | hsl(65, 50%, 50%) |
| HSV | hsv(65, 66%, 75%) |
| CMYK | cmyk(5.8%, 0%, 66.5%, 25.1%) |
| CIE-LAB | lab(74.40, -20.11, 60.07) |
| CIE-LCH | lch(74.40, 63.35, 108.51°) |
| OKLab | oklab(77.24% -0.0606 0.1353) |
| OKLCH | oklch(77.24% 0.148 114.1) |
| XYZ | xyz(38.3796, 47.3358, 11.9644) |
| Luminance | 0.4733 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.34
Pea
#A4BF20
ΔE00 3.72
Bile
#B5C306
ΔE00 3.84
Baby Puke Green
#B6C406
ΔE00 3.96
Mustard Green
#A8B504
ΔE00 4.14
Sick Green
#9DB92C
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BF40 #4B40BF
analogous
#BF8B40 #B4BF40 #74BF40
triadic
#B4BF40 #40B4BF #BF40B4
tetradic
#B4BF40 #40BF8B #4B40BF #BF4074
square
#B4BF40 #40BF8B #4B40BF #BF4074
split-complementary
#B4BF40 #4074BF #8B40BF
monochromatic
#5E6321 #899131 #B4BF40 #C6CE6E #D8DE9C
Accessibility & contrast
On white
2.01
#B4BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.47
#B4BF40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BF40
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BF40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BF40 | 1.00 | 2.01 | 10.47 | 10.47 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#BFB4A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4bf40; /* rgb */ color: rgb(180, 191, 64); /* oklch */ color: oklch(77.2% 0.148 114.1);
Tailwind
colors: {
custom: {
50: '#cdd27c',
500: '#b4bf40',
950: '#000000',
},
}SCSS
$custom: #b4bf40; $custom-light: #cdd27c; $custom-dark: #000000;
JSON
{
"hex": "#b4bf40",
"rgb": {
"r": 180,
"g": 191,
"b": 64
},
"hsl": {
"h": 65.197,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.77243,
"c": 0.14825,
"h": 114.1
},
"luminance": 0.47335
}Semantic roles & 50–950 ramp
primary
#B4BF40
secondary
#9691CA
accent
#4ED95B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C