#BFBF4F#BFBF4F
#BFBF4F is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.3% C 0.134 H 109.1°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #BFBF4F |
|---|---|
| RGB | rgb(191, 191, 79) |
| HSL | hsl(60, 47%, 53%) |
| HSV | hsv(60, 59%, 75%) |
| CMYK | cmyk(0%, 0%, 58.6%, 25.1%) |
| CIE-LAB | lab(75.39, -14.52, 55.09) |
| CIE-LCH | lch(75.39, 56.97, 104.76°) |
| OKLab | oklab(78.28% -0.0439 0.1267) |
| OKLCH | oklch(78.28% 0.134 109.1) |
| XYZ | xyz(41.5291, 48.9036, 14.6473) |
| Luminance | 0.4890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 5.22
Snot
#ACBB0D
ΔE00 5.56
Darkkhaki
#BDB76B
ΔE00 5.57
Bile
#B5C306
ΔE00 5.65
Vomit Yellow
#C7C10C
ΔE00 5.68
Baby Puke Green
#B6C406
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFBF4F #4F4FBF
analogous
#BF874F #BFBF4F #87BF4F
triadic
#BFBF4F #4FBFBF #BF4FBF
tetradic
#BFBF4F #4FBF87 #4F4FBF #BF4F87
square
#BFBF4F #4FBF87 #4F4FBF #BF4F87
split-complementary
#BFBF4F #4F87BF #874FBF
monochromatic
#6C6C27 #999938 #BFBF4F #CFCF7C #E0E0A9
Accessibility & contrast
On white
1.95
#BFBF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.78
#BFBF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFBF4F
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFBF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFBF4F | 1.00 | 1.95 | 10.78 | 10.78 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB842
Deuteranopia (green-blind)
#CFBC56
Tritanopia (blue-blind)
#CBB4A7
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #bfbf4f; /* rgb */ color: rgb(191, 191, 79); /* oklch */ color: oklch(78.3% 0.134 109.1);
Tailwind
colors: {
custom: {
50: '#d5d285',
500: '#bfbf4f',
950: '#000000',
},
}SCSS
$custom: #bfbf4f; $custom-light: #d5d285; $custom-dark: #000000;
JSON
{
"hex": "#bfbf4f",
"rgb": {
"r": 191,
"g": 191,
"b": 79
},
"hsl": {
"h": 60,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.78284,
"c": 0.13406,
"h": 109.1
},
"luminance": 0.48902
}Semantic roles & 50–950 ramp
primary
#BFBF4F
secondary
#9D9DCD
accent
#51D651
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#15140B
muted
#83827C